mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-08-19 21:28:24 +08:00
Compare commits
4 Commits
5b567255e3
...
aeda46c2a0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aeda46c2a0 | ||
|
|
8fb00c532a | ||
|
|
97ae2976f9 | ||
|
|
86345e0d38 |
3
.github/workflows/bump-version-on-merge.yml
vendored
3
.github/workflows/bump-version-on-merge.yml
vendored
@@ -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
|
||||
|
||||
3
.github/workflows/bump-version.yml
vendored
3
.github/workflows/bump-version.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user