Skip to content

Commit 0822c50

Browse files
committed
feat: Add GitHub Action to upgrade Stellar SDK
1 parent 8162949 commit 0822c50

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/update-version.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ jobs:
3636
echo "prefix=release" >> $GITHUB_OUTPUT
3737
fi
3838
39-
- name: Create feature branch
40-
run: |
41-
BRANCH_NAME="update-version-${{ inputs.version }}"
42-
git checkout -b "$BRANCH_NAME"
43-
4439
- name: Update build.gradle.kts (root)
4540
run: |
4641
# Get current version from build.gradle.kts
@@ -101,20 +96,12 @@ jobs:
10196
# Clean up
10297
rm -f current_version.txt
10398
104-
- name: Commit changes
105-
run: |
106-
git add build.gradle.kts README.md android_test/app/build.gradle.kts CHANGELOG.md
107-
git commit -m "${{ steps.pr-prefix.outputs.prefix }}: ${{ inputs.version }}"
108-
109-
- name: Push changes
110-
run: |
111-
git push origin "update-version-${{ inputs.version }}"
112-
11399
- name: Create Pull Request
114100
uses: peter-evans/create-pull-request@v5
115101
with:
116102
token: ${{ secrets.GITHUB_TOKEN }}
117103
branch: update-version-${{ inputs.version }}
104+
commit-message: "${{ steps.pr-prefix.outputs.prefix }}: ${{ inputs.version }}"
118105
title: "${{ steps.pr-prefix.outputs.prefix }}: ${{ inputs.version }}"
119106
body: |
120107
This PR updates the java-stellar-sdk version to ${{ inputs.version }}.

0 commit comments

Comments
 (0)