summaryrefslogtreecommitdiffstats
path: root/.builds
diff options
context:
space:
mode:
Diffstat (limited to '.builds')
-rw-r--r--.builds/ruby.yml2
-rw-r--r--.builds/rust.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.builds/ruby.yml b/.builds/ruby.yml
index a776d36..d488102 100644
--- a/.builds/ruby.yml
+++ b/.builds/ruby.yml
@@ -27,13 +27,13 @@ tasks:
- release: |
set +x
+ cd game-of-life/CLI/ruby
REF=`git describe --exact-match --tags HEAD ||:`
if [[ ! `echo $REF | awk '/^ruby\/v.*$/'` ]]; then
echo "Skipping release step. no matching tag"
exit 0
fi
echo "Publishing release $REF"
- cd game-of-life/CLI/ruby
bundle exec rake clean
bundle exec rake clobber
bundle exec rake build
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