Skip to content

Commit

Permalink
fix(ci): fix tag retrieval for bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Jguer committed Jun 13, 2020
1 parent d3f9335 commit 1769ba9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/multiarch-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
id: tags
shell: bash
run: |
echo ::set-output name=VERSION::${GITHUB_REF#/refs/tags/v}
echo ::set-output name=TAG::${GITHUB_REF#/refs/tags/}
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
- name: Install dependencies
run: sudo apt update -y && sudo apt install -y qemu qemu-user-static
- name: Setup qemu-user-static
Expand All @@ -42,8 +42,8 @@ jobs:
id: tags
shell: bash
run: |
echo ::set-output name=VERSION::${GITHUB_REF#/refs/tags/v}
echo ::set-output name=TAG::${GITHUB_REF#/refs/tags/}
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: changelog
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Tag
on:
push:
paths-ignore:
- ".github/**"
- "README.md"
- ".gitignore"
branches:
- master

Expand Down

0 comments on commit 1769ba9

Please sign in to comment.