mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 15:39:43 +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:
|
||||
- uses: actions/checkout@v2
|
||||
- shell: bash
|
||||
env:
|
||||
RELEASE_TAG: ${{ github.ref }}
|
||||
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
|
||||
- name: Upload PKGBUILD
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
Reference in New Issue
Block a user