mirror of
https://github.com/pterodactyl/panel.git
synced 2026-02-04 01:19:30 -06:00
Don't include v in the version identifier
This commit is contained in:
parent
09caa0d499
commit
5f1bfd109d
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
@ -19,13 +19,15 @@ jobs:
|
|||||||
- run: yarn tsc
|
- run: yarn tsc
|
||||||
- run: yarn build:production
|
- run: yarn build:production
|
||||||
- name: create release branch and bump version
|
- name: create release branch and bump version
|
||||||
|
env:
|
||||||
|
VERSION: ${{ github.ref_name }}
|
||||||
run: |
|
run: |
|
||||||
BRANCH=release/${{ github.ref_name }}
|
BRANCH=release/${{ env.VERSION }}
|
||||||
git config --local user.email 'ci@pterodactyl.io'
|
git config --local user.email 'ci@pterodactyl.io'
|
||||||
git config --local user.name 'Pterodactyl CI'
|
git config --local user.name 'Pterodactyl CI'
|
||||||
git checkout -b "$BRANCH"
|
git checkout -b "$BRANCH"
|
||||||
git push -u origin "$BRANCH"
|
git push -u origin "$BRANCH"
|
||||||
sed -i "s/'canary'/'${{ github.ref_name }}'/" config/app.php
|
sed -i "s/'canary'/'${VERSION:1}'/" config/app.php
|
||||||
git add config/app.php
|
git add config/app.php
|
||||||
git commit -m 'ci(release): bump version'
|
git commit -m 'ci(release): bump version'
|
||||||
git push
|
git push
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user