diff --git a/hooks/pre-commit.sh b/hooks/pre-commit.sh index 36a0eed..f34e827 100755 --- a/hooks/pre-commit.sh +++ b/hooks/pre-commit.sh @@ -4,6 +4,6 @@ set -euo pipefail echo "Pre-Commit hooks running..." -npm run build npm run update-version +npm run build git add src/version-const.ts diff --git a/package-lock.json b/package-lock.json index 7905d85..c0318cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "decluttering-card", - "version": "0.4.1-0", + "version": "0.4.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bdee51d..b33cc3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "decluttering-card", - "version": "0.4.1-0", + "version": "0.4.1", "description": "Template Card for Lovelace", "main": "dist/decluttering-card.js", "pre-commit": [ diff --git a/src/version-const.ts b/src/version-const.ts index 7942908..501bb33 100644 --- a/src/version-const.ts +++ b/src/version-const.ts @@ -1 +1 @@ -export const CARD_VERSION = '0.4.1-0'; +export const CARD_VERSION = '0.4.1';