mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
fix(ci): fix tag retrieval for bash
This commit is contained in:
parent
d3f9335d2d
commit
1769ba978a
8
.github/workflows/multiarch-build.yml
vendored
8
.github/workflows/multiarch-build.yml
vendored
|
@ -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
|
||||
|
@ -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
|
||||
|
|
4
.github/workflows/tag.yml
vendored
4
.github/workflows/tag.yml
vendored
|
@ -1,6 +1,10 @@
|
|||
name: Tag
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- ".github/**"
|
||||
- "README.md"
|
||||
- ".gitignore"
|
||||
branches:
|
||||
- master
|
||||
|
||||
|
|
Loading…
Reference in a new issue