diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1678e23..c4be19a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,7 +38,8 @@ jobs: git config --global user.email "contact@madladsquad.com" git fetch --all git submodule update --remote --merge --init --recursive - sed -i "s/project(UntitledOpen.*/project(UntitledOpen VERSION ${{ github.ref_name }})/g" CMakeLists.txt + ver="${{ github_ref_name }}" + sed -i "s/project(UntitledOpen.*/project(UntitledOpen VERSION ${ver:1})/g" CMakeLists.txt git add . && git commit -m "Automatically bump version" && git push origin HEAD:master - name: Create archive shell: bash