-
- Downloads
5-INFRASTRUCTURE :: husky for auto versioning and build on dev when not tag
parent
1e1dae67
Branches
Tags
Showing
- .distignore 11 additions, 0 deletions.distignore
- .gitignore 2 additions, 0 deletions.gitignore
- .gitlab-ci.yml 14 additions, 18 deletions.gitlab-ci.yml
- .husky/pre-commit 1 addition, 0 deletions.husky/pre-commit
- composer.json 1 addition, 1 deletioncomposer.json
- etc/module.xml 1 addition, 1 deletionetc/module.xml
- make-zip.sh 153 additions, 0 deletionsmake-zip.sh
- package.json 19 additions, 0 deletionspackage.json
- update-version.js 36 additions, 0 deletionsupdate-version.js
.distignore
0 → 100644
.gitignore
0 → 100644
.husky/pre-commit
0 → 100755
make-zip.sh
0 → 100755
package.json
0 → 100644
{ | ||
"name": "bobgo-magento-plugin", | ||
"description": "Bob Go magento plugin", | ||
"version": "1.0.34", | ||
"license": "GPL-2.0-or-later", | ||
"scripts": { | ||
"prepare": "husky install", | ||
"update-version-files": "node update-version.js" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm config set git-tag-version false && npm version patch && npm run update-version-files && git add package.json etc/module.xml composer.json && pretty-quick --staged" | ||
} | ||
}, | ||
"devDependencies": { | ||
"husky": "^8.0.1", | ||
"npm-run-all": "^4.1.5" | ||
} | ||
} |
update-version.js
0 → 100644
Please register or sign in to comment