Skip to content

Commit

Permalink
fix TRAVIS_TAG usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jprjr committed Jan 17, 2021
1 parent ad1f1d0 commit 875eda5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/release
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ REPONAME=$(echo ${TRAVIS_REPO_SLUG} | cut -d"/" -f2)
github-release release \
--user "${USERNAME}" \
--repo "${REPONAME}" \
--tag "${TRAVIS_TAG}" \
--name "${TRAVIS_TAG}" \
--tag "${TRAVIS_TAG##*/}" \
--name "${TRAVIS_TAG##*/}" \
--description "$(cat $(pwd)/dist/release.md)" || true

# binaries
Expand All @@ -48,13 +48,13 @@ for i in "$(pwd)/dist/"*.tar.gz; do
github-release upload \
--user "${USERNAME}" \
--repo "${REPONAME}" \
--tag "${TRAVIS_TAG}" \
--tag "${TRAVIS_TAG##*/}" \
--name "${name}" \
--file "${i}"
github-release upload \
--user "${USERNAME}" \
--repo "${REPONAME}" \
--tag "${TRAVIS_TAG}" \
--tag "${TRAVIS_TAG##*/}" \
--name "${name}.sig" \
--file "${i}.sig"
done

0 comments on commit 875eda5

Please sign in to comment.