first build docker, then tag gh
This commit is contained in:
parent
feca495f71
commit
250c849a76
1 changed files with 4 additions and 4 deletions
|
@ -7,10 +7,6 @@ TAG=$(cat ./zokrates_cli/Cargo.toml | grep '^version' | awk '{print $3}' | sed -
|
|||
# Use zokrates github bot
|
||||
git config --global user.email $GH_USER
|
||||
|
||||
# Release on Github
|
||||
git tag $TAG
|
||||
git push origin $TAG
|
||||
|
||||
# Release on Dockerhub
|
||||
|
||||
## Build
|
||||
|
@ -29,6 +25,10 @@ docker tag zokrates:latest zokrates/zokrates:$TAG
|
|||
docker push zokrates/zokrates:$TAG
|
||||
echo "Published zokrates/zokrates:$TAG"
|
||||
|
||||
# Release on Github
|
||||
git tag $TAG
|
||||
git push origin $TAG
|
||||
|
||||
# Publish book
|
||||
MDBOOK_TAR="https://github.com/rust-lang-nursery/mdBook/releases/download/v0.2.1/mdbook-v0.2.1-x86_64-unknown-linux-gnu.tar.gz"
|
||||
|
||||
|
|
Loading…
Reference in a new issue