diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 916eb9e..8154d43 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -15,6 +15,6 @@ jobs: uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: fallout12*.zip + files: fallout*.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/extra/package.sh b/extra/package.sh index a19cec0..9740d83 100755 --- a/extra/package.sh +++ b/extra/package.sh @@ -6,7 +6,7 @@ short_sha="$(git rev-parse --short HEAD)" version="git$short_sha" if [[ ! -z "${GITHUB_REF-}" ]]; then if echo "$GITHUB_REF" | grep "refs/tags"; then # tagged - version="$(echo $GITHUB_REF | sed 's|refs\/tags\/v||')" + version="$(echo $GITHUB_REF | sed 's|refs\/tags||')" fi fi