diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a36e288..38b25cd 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -34,7 +34,7 @@ jobs: - name: Get Build Information id: build_info run: | - echo "::set-output name=version_tag::${GITHUB_REF/refs\/tags\//}" + echo "::set-output name=version_tag::${GITHUB_REF/refs\/tags\/v/}" echo "::set-output name=short_sha::$(git rev-parse --short HEAD)" - name: Release Production Build uses: docker/build-push-action@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a11dc02..a1966ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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