Skip to content

Commit 954701e

Browse files
committed
test 1
1 parent 925466a commit 954701e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
with:
1919
ref: master
2020

21+
- name: Prepare
22+
shell: bash
23+
run: |
24+
echo "SERVER_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
25+
echo "version is: ${{ env.SERVER_VERSION }}"
26+
2127
- name: Commit post release updates changes
2228
shell: bash
2329
env:
@@ -31,7 +37,7 @@ jobs:
3137
git add file.txt
3238
git commit --verbose -m "docs: ${{ env.SERVER_VERSION }} [skip ci]"
3339
git checkout -b release-docs-${{ env.SERVER_VERSION }}
34-
git push --verbose
40+
git push --set-upstream origin --verbose release-docs-${{ env.SERVER_VERSION }}
3541
3642
- name: Create merge request
3743
env:

0 commit comments

Comments
 (0)