This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
13 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
VERSION_BASE=$(janus version -format='v%M.%m.x') | ||
CLI_ARCHIVE_NAME="emerald-vault-$TRAVIS_OS_NAME-$APP_VERSION" | ||
CLI_ARCHIVE_NAME="emerald-cli-$TRAVIS_OS_NAME-$APP_VERSION" | ||
zip -j "$CLI_ARCHIVE_NAME.zip" target/release/emerald | ||
tar -zcf "$CLI_ARCHIVE_NAME.tar.gz" target/release/emerald | ||
echo "Deploy to http://builds.etcdevteam.com/emerald-vault/$VERSION_BASE/" | ||
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="./gcloud-travis.json.enc" | ||
janus deploy -to="builds.etcdevteam.com/emerald-cli/$VERSION_BASE/" -files="./deploy/*" -key="./gcloud-travis.json.enc" | ||
echo "Deployed" |
Binary file not shown.