feat: Version wird vor jedem Commit automatisch erhöht (husky pre-commit)
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm run bump-version
|
||||
git add ./config/appVersion.js
|
||||
echo "🔄 Version wird automatisch erhöht (bumpVersion.js)..."
|
||||
|
||||
# Version automatisch erhöhen
|
||||
node scripts/bumpVersion.js
|
||||
|
||||
# Automatisch relevante Dateien zum Commit hinzufügen
|
||||
git add package.json package-lock.json config/appVersion.js
|
||||
|
||||
# Fortsetzen mit dem Commit
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// /config/appVersion
|
||||
export const APP_VERSION = "1.1.267";
|
||||
export const APP_VERSION = "1.1.268";
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "nodemap",
|
||||
"version": "1.1.266",
|
||||
"version": "1.1.268",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "nodemap",
|
||||
"version": "1.1.266",
|
||||
"version": "1.1.268",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.13.3",
|
||||
"@emotion/styled": "^11.13.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nodemap",
|
||||
"version": "1.1.266",
|
||||
"version": "1.1.268",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.13.3",
|
||||
"@emotion/styled": "^11.13.0",
|
||||
|
||||
Reference in New Issue
Block a user