diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index dfc0c10..a5fdb5a 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -17,11 +17,10 @@ jobs: uses: actions/checkout@v3 with: ref: master - fetch-tags: true - name: Update version in config run: | - version="$(git describe --tags --abbrev=0)" + version="${{ github.ref_name }}" sed -i "s/GRUB_BTRFS_VERSION=.*/GRUB_BTRFS_VERSION=${version}/" config - name: Commit updated config