You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed -i 's/#define RELEASE_VER_MAIN .*/#define RELEASE_VER_MAIN '"$MAJOR"'/' src/version.h
94
+
sed -i 's/#define RELEASE_VER_SUB .*/#define RELEASE_VER_SUB '"$MINOR"'/' src/version.h
95
+
sed -i 's/#define RELEASE_VER_FIX .*/#define RELEASE_VER_FIX '"$PATCH"'/' src/version.h
96
+
git add src/version.h
97
+
git commit -m "build(release): bump version to $VERSION"
98
+
git push origin release --force
99
+
100
+
- name: Create Pull Request
101
+
env:
102
+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
103
+
run: |
104
+
git push origin release
105
+
gh pr create --base main --head release --title "build(release): bump version to ${{ github.event.inputs.version }}" --body "Bump version to ${{ github.event.inputs.version }}"
0 commit comments