Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
problem: macos builds in a wrong path
Browse files Browse the repository at this point in the history
  • Loading branch information
splix committed Mar 19, 2019
1 parent 1a9767c commit 4a7771a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
set -e

VERSION_BASE=$(janus version -format='v%M.%m.x')
CLI_ARCHIVE_NAME="emerald-vault-osx-$APP_VERSION"
mv target/release/emerald-vault ./emerald-vault
zip -j "$CLI_ARCHIVE_NAME.zip" emerald-vault
tar -zcf "$CLI_ARCHIVE_NAME.tar.gz" emerald-vault
echo "Deploy to http://builds.etcdevteam.com/emerald-vault/$VERSION_BASE/"
CLI_ARCHIVE_NAME="emerald-cli-mac-$APP_VERSION"
mv target/release/emerald-vault ./emerald
zip -j "$CLI_ARCHIVE_NAME.zip" emerald
tar -zcf "$CLI_ARCHIVE_NAME.tar.gz" emerald
echo "Deploy to http://builds.etcdevteam.com/emerald-cli/$VERSION_BASE/"

mkdir deploy
mv *.zip *.tar.gz deploy/
ls -l deploy/

janus deploy -to="builds.etcdevteam.com/emerald-vault/$VERSION_BASE/" -files="deploy/*" -key=".circleci/gcloud-circleci.json.enc" -gpg
janus deploy -to="builds.etcdevteam.com/emerald-cli/$VERSION_BASE/" -files="deploy/*" -key=".circleci/gcloud-circleci.json.enc" -gpg
echo "Deployed"

0 comments on commit 4a7771a

Please sign in to comment.