mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-16 09:01:17 -07:00
feat: Conditionally sign nightly release tags
This commit is contained in:
@@ -55,6 +55,7 @@ jobs:
|
||||
if: success()
|
||||
run: npm run tag:release:nightly
|
||||
env:
|
||||
SIGN_FLAG: ""
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create Issue on Failure
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
"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",
|
||||
"tag:release:nightly": "TAG_NAME=\"v$(node -p \"require('./package.json').version\")-nightly.$(date -u +%y%m%d).$(git rev-parse --short HEAD)\"; git tag -s -a $TAG_NAME -m '' && git push origin $TAG_NAME",
|
||||
"tag:release:nightly": "SIGN_FLAG=${SIGN_FLAG:--s}; TAG_NAME=\"v$(node -p \"require('./package.json').version\")-nightly.$(date -u +%y%m%d).$(git rev-parse --short HEAD)\"; git tag $SIGN_FLAG -a $TAG_NAME -m '' && git push origin $TAG_NAME",
|
||||
"check:versions": "node scripts/check-versions.js",
|
||||
"publish:actions-release": "npm run prepare:package && npm run build:packages && npm run publish:npm"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user