From 86345e0d381aa6ddba401ea54f66387bf86d7134 Mon Sep 17 00:00:00 2001 From: Antynea Date: Fri, 22 May 2026 13:29:22 +0200 Subject: [PATCH] Modify versioning in bump-version-on-merge workflow Removed fetching tags when checking out the master branch and updated version format to exclude the latest tag. --- .github/workflows/bump-version-on-merge.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/bump-version-on-merge.yml b/.github/workflows/bump-version-on-merge.yml index 0de38a8..caf18a2 100644 --- a/.github/workflows/bump-version-on-merge.yml +++ b/.github/workflows/bump-version-on-merge.yml @@ -18,11 +18,10 @@ jobs: uses: actions/checkout@v3 with: ref: master - fetch-tags: true - name: Update version in config run: | - version="$(git describe --tags --abbrev=0)-$(git rev-parse --abbrev-ref HEAD)-$(date -u -Iseconds)" + version="$(git rev-parse --abbrev-ref HEAD)-$(date -u -Iseconds)" sed -i "s/GRUB_BTRFS_VERSION=.*/GRUB_BTRFS_VERSION=${version}/" config - name: Commit updated config