Skip to content

Commit

Permalink
fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Feb 20, 2021
1 parent 7af1577 commit d63aeac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion extra/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d63aeac

Please sign in to comment.