summaryrefslogtreecommitdiffstats
path: root/.builds/rust.yml
diff options
context:
space:
mode:
authora14m <[email protected]>2021-04-09 22:01:29 +0200
committera14m <[email protected]>2021-04-09 22:01:29 +0200
commitc425d6939e469b7223184d376e2354efae179abd (patch)
treeae1a361fc9bba74514a5ef347e6951617db45e0e /.builds/rust.yml
parentc163ce131995c2e758667247ec66bf3a17a12f17 (diff)
Fix release steps on srht
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