Compare commits

...

4 Commits

Author SHA1 Message Date
github-actions[bot]
aeda46c2a0 chore: bump version to 2026-05-22 11:33:41 +00:00
Antynea
8fb00c532a Modify bump-version workflow for versioning
Update version retrieval method and remove fetch-tags.
2026-05-22 13:33:34 +02:00
github-actions[bot]
97ae2976f9 chore: bump version to 2026-05-22 11:29:30 +00:00
Antynea
86345e0d38 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.
2026-05-22 13:29:22 +02:00
3 changed files with 3 additions and 5 deletions

View File

@@ -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

View File

@@ -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

2
config
View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
GRUB_BTRFS_VERSION=-master-2026-05-10T10:13:56+00:00
GRUB_BTRFS_VERSION=master-2026-05-22T11:33:41+00:00
# Distribution specific auto-detection (e.g. Fedora)
if [ -f /etc/fedora-release ]; then