We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
v
1 parent 09caa0d commit 5f1bfd1Copy full SHA for 5f1bfd1
.github/workflows/release.yaml
@@ -19,13 +19,15 @@ jobs:
19
- run: yarn tsc
20
- run: yarn build:production
21
- name: create release branch and bump version
22
+ env:
23
+ VERSION: ${{ github.ref_name }}
24
run: |
- BRANCH=release/${{ github.ref_name }}
25
+ BRANCH=release/${{ env.VERSION }}
26
git config --local user.email 'ci@pterodactyl.io'
27
git config --local user.name 'Pterodactyl CI'
28
git checkout -b "$BRANCH"
29
git push -u origin "$BRANCH"
- sed -i "s/'canary'/'${{ github.ref_name }}'/" config/app.php
30
+ sed -i "s/'canary'/'${VERSION:1}'/" config/app.php
31
git add config/app.php
32
git commit -m 'ci(release): bump version'
33
git push
0 commit comments