File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 run : |
2222 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2323 git config --global user.name "github-actions[bot]"
24- # The hash suffix will help identifying if the beta version is up-to-date
25- - name : Add commit hash suffix to manifest version
26- run : |
27- sed -i "s/<Version number=\"\([^\"]*\)\"/<Version number=\"\1-$(git rev-parse --short HEAD)\"/g" manifest.xml
2824 - name : Generate Release notes
2925 run : |
3026 echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
@@ -38,11 +34,18 @@ jobs:
3834 gh release create beta --title "Beta Release" --draft --generate-notes --notes-start-tag "$LATEST_TAG"
3935 gh release view beta > temp_change.md
4036 - name : Tweak changelogs
37+ id : tweak-changelogs
38+ continue-on-error : true
4139 run : |
4240 # Remove carriage returns to be able to run the script
4341 sed -i 's/\r$//' .github/tweak_changelogs.sh
4442 chmod +x .github/tweak_changelogs.sh
4543 .github/tweak_changelogs.sh beta
44+ # The hash suffix will help identifying if the beta version is up-to-date
45+ - name : Add commit hash suffix to manifest version
46+ if : steps.tweak-changelogs.outcome == 'success'
47+ run : |
48+ sed -i "s/<Version number=\"\([^\"]*\)\"/<Version number=\"\1-$(git rev-parse --short HEAD)\"/g" manifest.xml
4649 - name : Update manifest.xml
4750 run : python3 update_manifest.py --quiet --in-place
4851 - name : Push to beta branch
You can’t perform that action at this time.
0 commit comments