Skip to content

Commit 714cf9f

Browse files
authored
Update release.yml
Signed-off-by: Aleksandar Stanchev <[email protected]>
1 parent ef205d6 commit 714cf9f

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/release.yml

+6-13
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,10 @@ jobs:
3232
echo "cat version.sbt"
3333
cat version.sbt
3434
35-
- name: Create Pull Request
36-
id: cpr
37-
uses: peter-evans/create-pull-request@v7
38-
with:
39-
commit-message: "Update version to ${{ github.event.inputs.release }}"
40-
branch: "release-${{ github.event.inputs.release }}"
41-
base: master
42-
title: "Release ${{ github.event.inputs.release }}"
43-
body: "This PR updates the version to ${{ github.event.inputs.release }}."
44-
- name: Check outputs
45-
if: ${{ steps.cpr.outputs.pull-request-number }}
35+
36+
- name: Create release branch and commit changes
4637
run: |
47-
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
48-
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
38+
git checkout -b release/${{ github.event.inputs.release }}
39+
git add version.sbt
40+
git commit -m "Update version to ${{ github.event.inputs.release }}"
41+
git push origin release/${{ github.event.inputs.release }}

0 commit comments

Comments
 (0)