forked from upstream-mirrors/quik
Update bump-and-build.yml
create PR, use signing keys
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user