File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 66 push :
77 tags :
88 - ' v*.*.*'
9+ - ' v*.*.*-*' # also handle pre-releases like v1.2.3-beta.1
910
1011permissions :
1112 contents : write
@@ -36,14 +37,12 @@ jobs:
3637
3738 - name : Commit and Update Tag
3839 run : |
39- git config --global user.name 'github-actions[bot] '
40- git config --global user.email 'github-actions[ bot] @users.noreply.github.com'
40+ git config --global user.name 'CodeTranslate Release Bot '
41+ git config --global user.email 'release- bot-codetranslate @users.noreply.github.com'
4142 git add frontend/manifest.json
4243 # This command updates the tag to point to the new commit
43- git commit -m "chore: Bump frontend version to ${{ github.ref_name }}"
44- # Force push is required to move the tag to the new commit,
45- # which includes the manifest.json version bump.
46- git push origin --force ${{ github.ref_name }}
44+ git commit -m "chore: bump manifest version to ${{ github.ref_name }} [skip ci]" || echo "No changes to commit"
45+ git push origin HEAD:main
4746
4847 - name : Build frontend extension
4948 run : npm run build
6059 tag_name : ${{ github.ref_name }}
6160 draft : true
6261 generate_release_notes : true
63- files : CodeTranslateAI-${{ github.ref_name }}.zip
62+ files : CodeTranslateAI-${{ github.ref_name }}.zip
63+ prerelease : ${{ contains(github.ref_name, '-') }}
You can’t perform that action at this time.
0 commit comments