-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from CosmWasm/ci-build-release
Add a release step to the ci
- Loading branch information
Showing
7 changed files
with
60 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ jobs: | |
root: ./api | ||
paths: | ||
- libgo_cosmwasm.so | ||
|
||
test: | ||
working_directory: /go/src/github.com/confio/go-cosmwasm | ||
docker: | ||
|
@@ -27,6 +28,23 @@ jobs: | |
- run: make test | ||
- run: make build-go | ||
|
||
release: | ||
machine: | ||
image: ubuntu-1604:201903-01 | ||
steps: | ||
- add_ssh_keys: | ||
fingerprints: | ||
- "31:de:e5:84:1b:12:81:94:aa:06:50:c0:cb:bd:79:f0" | ||
- checkout | ||
- run: echo $CIRCLE_BRANCH | ||
- run: make release | ||
- run: ls -l ./api | ||
- run: git config user.email "[email protected]" | ||
- run: git config user.name "CircleCI Bot" | ||
- run: git add . | ||
- run: git commit --allow-empty -m '[skip ci] Built release libraries' | ||
- run: git push origin $CIRCLE_BRANCH | ||
|
||
workflows: | ||
version: 2 | ||
build_and_test: | ||
|
@@ -35,3 +53,12 @@ workflows: | |
- test: | ||
requires: | ||
- build | ||
# release only on master, not on tags (auto-build on merge PR) | ||
- release: | ||
filters: | ||
tags: | ||
ignore: | ||
- /.*/ | ||
branches: | ||
only: | ||
- master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "0.7.0" | |
authors = ["Ethan Frey <[email protected]>"] | ||
edition = "2018" | ||
description = "Go bindings for cosmwasm contracts" | ||
repository = "https://github.com/confio/go-cosmwasm" | ||
repository = "https://github.com/CosmWasm/go-cosmwasm" | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
exclude = [".circleci/*", ".gitignore"] | ||
|
@@ -14,7 +14,7 @@ crate-type = ["cdylib"] | |
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[badges] | ||
circle-ci = { repository = "confio/go-cosmwasm", branch = "master" } | ||
circle-ci = { repository = "CosmWasm/go-cosmwasm", branch = "master" } | ||
maintenance = { status = "actively-developed" } | ||
|
||
[features] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters