From dba04bed60a7556fd7d03bae5c073180aaf8fb7d Mon Sep 17 00:00:00 2001 From: Konstantin Kostov Date: Mon, 12 Feb 2024 14:10:37 +0100 Subject: [PATCH] fix: updating version tag --- .github/workflows/set-version.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/set-version.yml b/.github/workflows/set-version.yml index 528d7ba..7283c0c 100644 --- a/.github/workflows/set-version.yml +++ b/.github/workflows/set-version.yml @@ -19,13 +19,14 @@ jobs: token: ${{ secrets.PAT }} - name: Update version.txt run: echo ${{ inputs.version }} > version.txt + - name: Update library version run: bash ./setversion.sh + - name: Commit version change run: | git config --global user.name 'Daniel Jilg' git config --global user.email 'winsmith@users.noreply.github.com' - git tag ${{ inputs.version }} git commit -am "Update version to ${{ inputs.version }}" - git push - git push origin ${{ inputs.version }} + git tag ${{ inputs.version }} + git push --follow-tags