diff --git a/.github/workflows/aur-release.yml b/.github/workflows/aur-release.yml index 7382497..cf46e7e 100644 --- a/.github/workflows/aur-release.yml +++ b/.github/workflows/aur-release.yml @@ -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