mirror of
https://github.com/quexten/goldwarden.git
synced 2024-11-23 21:44:37 +03:00
Fix version parsing in publish to aur ci
This commit is contained in:
parent
24e34794f6
commit
8f14fce393
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -207,8 +207,13 @@ jobs:
|
||||
uses: actions/checkout@v1
|
||||
- name: Write version
|
||||
run: echo "${GITHUB_REF#refs/tags/}" > ./cli/cmd/version.txt
|
||||
- name: Write release version
|
||||
run: |
|
||||
VERSION=${GITHUB_REF_NAME#v}
|
||||
echo Version: $VERSION
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
- name: Replace version in PKGBUILD
|
||||
run: sed -i "s/pkgver=.*/pkgver=${{ github.event.release.tag_name }}/" ./.github/workflows/PKGBUILD
|
||||
run: sed -i "s/pkgver=.*/pkgver=${VERSION}/" ./.github/workflows/PKGBUILD
|
||||
- name: Publish AUR package
|
||||
uses: KSXGitHub/github-actions-deploy-aur@v2.7.0
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user