ci: fix release version, again

This commit is contained in:
Matthew Penner 2021-11-15 13:17:47 -07:00
parent aa0d5d46c5
commit f92b502d6e
No known key found for this signature in database
GPG Key ID: BAB67850901908A8

View File

@ -45,7 +45,7 @@ jobs:
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/var Version = \".*\"/var Version = \"1.0.0\"/" system/const.go sed -i "s/var Version = \".*\"/var Version = \"${REF:11}\"/" system/const.go
git add system/const.go git add system/const.go
git commit -m "bump version for release" git commit -m "bump version for release"
git push git push