feat: add early version consistency check to release workflow

This commit is contained in:
mkorwel
2025-07-01 11:23:25 -05:00
parent c2a9f72044
commit 2fe926308c
2 changed files with 5 additions and 1 deletions

View File

@@ -44,6 +44,9 @@ jobs:
- name: Install Dependencies
run: npm ci
- name: Check Version Consistency
run: npm run check:versions
- name: Set Release Version and Tag
id: version
run: |

View File

@@ -51,7 +51,8 @@
"publish:release": "npm run prepare:package && npm run build:packages && npm run build:sandbox:fast && npm run publish:sandbox && npm run publish:npm",
"prepublishOnly": "node scripts/check-versions.js && node scripts/prepublish.js",
"release:version": "node scripts/version.js",
"push-release": "git push && git push --tags"
"push-release": "git push && git push --tags",
"check:versions": "node scripts/check-versions.js"
},
"bin": {
"gemini": "bundle/gemini.js"