Skip to content

Commit

Permalink
Fix CI bug that GitHub Releases are not added
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Oct 13, 2021
1 parent 0fc51cb commit d4a9bf8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/bin/github-release.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
# Invoke github-release <https://github.com/aktau/github-release>.
# Invoke github-release <https://github.com/github-release/github-release>.
set -e

if [[ ! -f /tmp/bin/linux/amd64/github-release ]]; then
wget -O /tmp/github-release.tar.bz2 \
https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2
tar xvfj /tmp/github-release.tar.bz2 -C /tmp
rm /tmp/github-release.tar.bz2
if [[ ! -f /tmp/github-release ]]; then
wget -O /tmp/github-release.bz2 \
https://github.com/github-release/github-release/releases/download/v0.10.0/linux-amd64-github-release.bz2
bzip2 -d /tmp/github-release.bz2
chmod +x /tmp/github-release
fi

/tmp/bin/linux/amd64/github-release "$@"
/tmp/github-release "$@"

0 comments on commit d4a9bf8

Please sign in to comment.