Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a release step to the ci #52

Merged
merged 14 commits into from
Mar 11, 2020
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ jobs:
- run: cp /tmp/builds/libgo_cosmwasm.so ./api
- run: make test
- run: make build-go
# TODO: only run this on master (and not on tags)
release:
docker:
- image: circleci/rust:1.41-stretch
steps:
- run: rustup toolchain install nightly
webmaster128 marked this conversation as resolved.
Show resolved Hide resolved
- checkout
- run: make release
- run: ls -l ./api
# TODO: check if there is a diff (only commit then)
webmaster128 marked this conversation as resolved.
Show resolved Hide resolved
- run: git config user.email "[email protected]"
- run: git config user.name "CircleCI Bot"
- run: git add .
- run: git commit -m '[skip ci] Built release libraries'
# TODO: git push


workflows:
version: 2
Expand All @@ -35,3 +51,6 @@ workflows:
- test:
requires:
- build
- release:
requires:
- test