forked from tendermint/dex-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Website release Wed Oct 30 14:39:41 PDT 2019
- Loading branch information
Showing
4 changed files
with
1,278 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
git checkout master | ||
rm -rf ./codegen-out | ||
rm -rf ./build | ||
mkdir ./codegen-out | ||
mkdir ./build | ||
./node_modules/.bin/sc generate -l openapi -i ./openapi.yml -o ./codegen-out | ||
git checkout release | ||
git merge master --no-edit | ||
cp ./codegen-out/openapi.json ./build | ||
cp ./dex-demo-embedded.html ./build | ||
cp ./dex-demo-embedded.html ./build/index.html | ||
git add -f ./build | ||
now=$(date) | ||
git commit -am "Website release $now" | ||
git push origin release | ||
rm -rf ./build | ||
rm -rf ./codegen-out | ||
git checkout master |
File renamed without changes.
Oops, something went wrong.