mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-06 07:30:40 +00:00
Fix github release download in travis CI
This commit is contained in:
parent
19d85e621b
commit
103b78a78a
7
Makefile
7
Makefile
@ -95,10 +95,9 @@ ci-bundle: bundle ## Create bundle and run basic tests
|
||||
./releases/github-release: ## Download github-release binary
|
||||
mkdir -p releases/
|
||||
cd releases/ \
|
||||
&& curl -sSL -o ./github-release.tar.bz2 "https://github.com/meterup/github-release/releases/download/v0.7.5/$(shell uname -s | tr "[:upper:]" "[:lower:]")-amd64-github-release.tar.bz2" \
|
||||
&& bzip2 -d -f ./github-release.tar.bz2 \
|
||||
&& tar xf github-release.tar \
|
||||
&& mv "bin/$(shell uname -s | tr "[:upper:]" "[:lower:]")/amd64/github-release" .
|
||||
&& curl -sSL -o ./github-release.bz2 "https://github.com/meterup/github-release/releases/download/v0.7.5/$(shell uname -s | tr "[:upper:]" "[:lower:]")-amd64-github-release.bz2" \
|
||||
&& bzip2 -d -f ./github-release.bz2 \
|
||||
&& chmod a+x ./github-release
|
||||
|
||||
ci-github: ./releases/github-release ## Upload assets to github
|
||||
sed "s/TUTOR_VERSION/v$(shell make version)/g" docs/_release_description.md > releases/description.md
|
||||
|
Loading…
Reference in New Issue
Block a user