Update bump-and-build.yml

create PR, use signing keys
This commit is contained in:
octoshrimpy
2025-06-28 07:25:09 -04:00
committed by GitHub
parent b4e81f2b13
commit 0d33359004
+16 -2
View File
@@ -55,12 +55,26 @@ jobs:
echo "Bumped version to $NEW_VERSION_NAME ($NEW_VERSION_CODE)"
- name: Commit version bump
- name: Commit version bump and push branch
working-directory: presentation
run: |
BRANCH="bump-feature-version-$(date +'%Y%m%d-%H%M%S')"
git checkout -b "$BRANCH"
git add build.gradle
git commit -m "chore: bump feature version [skip ci]" || echo "No changes to commit"
git push
git push origin "$BRANCH"
echo "Pushed to branch $BRANCH. Please open a pull request to merge into master."
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: "chore: bump feature version [skip ci]"
branch: bump-feature-version
title: "chore: bump feature version [skip ci]"
body: "Automated version bump."
base: master
path: presentation/build.gradle
- name: Decode Keystore File
run: echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > ${{ github.workspace }}/my-release-key.keystore