We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3979c53 commit 3162276Copy full SHA for 3162276
1 file changed
.github/workflows/bump-version.yml
@@ -14,19 +14,18 @@ jobs:
14
runs-on: ubuntu-latest
15
steps:
16
- name: Checkout
17
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
18
with:
19
ref: master
20
21
- name: Update version in config
22
run: |
23
- version="${{ github.ref_name }}"
24
- sed -i "s/GRUB_BTRFS_VERSION=.*/GRUB_BTRFS_VERSION=${version}/" config
+ sed -i "s/GRUB_BTRFS_VERSION=.*/GRUB_BTRFS_VERSION=${{ github.ref_name }}/" config
25
26
- name: Commit updated config
27
28
git config user.name "github-actions[bot]"
29
git config user.email "github-actions[bot]@users.noreply.github.com"
30
git add config
31
- git commit -m "chore: bump version to ${version}"
+ git commit -m "chore: bump version to ${{ github.ref_name }}"
32
git push origin master
0 commit comments