ci: fix version replace and Docker version

This commit is contained in:
Matthew Penner
2021-11-15 11:19:30 -07:00
parent 66eb993afa
commit aa0d5d46c5
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ jobs:
git config --local user.name "Pterodactyl CI"
git checkout -b $BRANCH
git push -u origin $BRANCH
sed -i "s/ Version = \".*\"/ Version = \"${REF:11}\"/" system/const.go
sed -i "s/var Version = \".*\"/var Version = \"1.0.0\"/" system/const.go
git add system/const.go
git commit -m "bump version for release"
git push