From ef70d6e212302069ae9241ead17e07527c013819 Mon Sep 17 00:00:00 2001 From: Stanislav Vasilev Date: Mon, 18 Nov 2024 00:36:00 +0200 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 532b0c8..cbb16f4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,7 +37,8 @@ jobs: git config --global user.email "contact@madladsquad.com" git fetch --all git submodule update --remote --merge --init --recursive - sed -i "s/project(UntitledCLIParser.*/project(UntitledCLIParser 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