mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 14:04:41 -07:00
Mk nightly relase tag formatting (#3204)
This commit is contained in:
@@ -102,8 +102,13 @@ jobs:
|
|||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git add package.json package-lock.json packages/*/package.json
|
git add package.json package-lock.json packages/*/package.json
|
||||||
git commit -m "chore(release): ${{ steps.version.outputs.RELEASE_TAG }}"
|
if ! git diff-index --quiet HEAD --; then
|
||||||
git push --set-upstream origin ${{ steps.release_branch.outputs.BRANCH_NAME }} --follow-tags
|
echo "Changes detected, creating commit."
|
||||||
|
git commit -m "chore(release): ${{ steps.version.outputs.RELEASE_TAG }}"
|
||||||
|
git push --set-upstream origin ${{ steps.release_branch.outputs.BRANCH_NAME }} --follow-tags
|
||||||
|
else
|
||||||
|
echo "No version changes to commit."
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Create GitHub Release and Tag
|
- name: Create GitHub Release and Tag
|
||||||
if: '!inputs.dry_run'
|
if: '!inputs.dry_run'
|
||||||
|
|||||||
Reference in New Issue
Block a user