mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 23:20:17 +00:00
get release tag from context
This commit is contained in:
4
.github/workflows/aur-release.yml
vendored
4
.github/workflows/aur-release.yml
vendored
@@ -8,8 +8,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- shell: bash
|
- shell: bash
|
||||||
|
env:
|
||||||
|
RELEASE_TAG: ${{ github.ref }}
|
||||||
run: |
|
run: |
|
||||||
version=$(git describe --abbrev=0 --tags | sed 's/^v//g')
|
version=$(echo ${RELEASE_TAG} | sed 's/^v//g')
|
||||||
sed "s/^pkgver=.*$/pkgver=${version}/g" packages/arch-dotdrop/PKGBUILD > PKGBUILD
|
sed "s/^pkgver=.*$/pkgver=${version}/g" packages/arch-dotdrop/PKGBUILD > PKGBUILD
|
||||||
- name: Upload PKGBUILD
|
- name: Upload PKGBUILD
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user