Skip to content

Commit 5f1bfd1

Browse files
committed
Don't include v in the version identifier
1 parent 09caa0d commit 5f1bfd1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ jobs:
1919
- run: yarn tsc
2020
- run: yarn build:production
2121
- name: create release branch and bump version
22+
env:
23+
VERSION: ${{ github.ref_name }}
2224
run: |
23-
BRANCH=release/${{ github.ref_name }}
25+
BRANCH=release/${{ env.VERSION }}
2426
git config --local user.email 'ci@pterodactyl.io'
2527
git config --local user.name 'Pterodactyl CI'
2628
git checkout -b "$BRANCH"
2729
git push -u origin "$BRANCH"
28-
sed -i "s/'canary'/'${{ github.ref_name }}'/" config/app.php
30+
sed -i "s/'canary'/'${VERSION:1}'/" config/app.php
2931
git add config/app.php
3032
git commit -m 'ci(release): bump version'
3133
git push

0 commit comments

Comments
 (0)