diff options
| author | a14m <[email protected]> | 2021-04-09 16:52:45 +0200 |
|---|---|---|
| committer | a14m <[email protected]> | 2021-04-09 17:44:09 +0200 |
| commit | 7b3de7c109932ea1224aed5c082ee9e771b794b9 (patch) | |
| tree | b3587a16184738e76d8fc993d2f55a9b7e4aa3aa /.builds | |
| parent | cf9d3806ea6394e5812e9fca84b8fe8ac3420744 (diff) | |
Deploy test crate version from CI
Diffstat (limited to '.builds')
| -rw-r--r-- | .builds/rust.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.builds/rust.yml b/.builds/rust.yml index d7cceb7..1425e48 100644 --- a/.builds/rust.yml +++ b/.builds/rust.yml @@ -7,6 +7,10 @@ packages: sources: - https://git.sr.ht/~a14m/game-of-life +secrets: + # RUST CRATES.IO CREDENTIALS + - 3e602cae-1563-4a6a-ab2a-c782c68bd599 + tasks: - install: | curl https://sh.rustup.rs -sSf | sh -s -- -y @@ -25,12 +29,13 @@ tasks: - release: | set +x - cd game-of-life/CLI/rust REF=`git describe --exact-match --tags HEAD ||:` if [[ ! `echo $REF | awk '/^rust\/v.*$/'` ]]; then echo "Skipping release step. no matching tag" exit 0 fi echo "Publishing release $REF" + cd game-of-life/CLI/rust source $HOME/.cargo/env cargo build --release + cargo publish |
