summaryrefslogtreecommitdiffstats
path: root/.builds/rust.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/rust.yml')
-rw-r--r--.builds/rust.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.builds/rust.yml b/.builds/rust.yml
index 1425e48..0554e30 100644
--- a/.builds/rust.yml
+++ b/.builds/rust.yml
@@ -29,13 +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