-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automate version release process (#148)
- Loading branch information
Showing
24 changed files
with
4,218 additions
and
4,185 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 |
---|---|---|
|
@@ -13,7 +13,10 @@ jobs: | |
- run: git config --global user.email "[email protected]" | ||
- run: git config --global user.name "ORY Continuous Integration" | ||
- run: "git clone https://arekkas:[email protected]/ory/ory-am.git ../ory-am" | ||
- run: cd website; npm run api | ||
- run: cd website; npm run release $(echo $CIRCLE_TAG | cut -d '+' -f2) | ||
- run: cd website; npm run format | ||
- run: "git commit -a -m 'Update files to match release $CIRCLE_TAG'" | ||
- run: "git push origin HEAD:master" | ||
- run: cd website; npm run build | ||
- run: rm -rf ../ory-am/docs/* | ||
- run: cp -R ./website/build/docs/* ../ory-am/docs/ | ||
|
@@ -37,5 +40,5 @@ workflows: | |
requires: | ||
- test | ||
filters: | ||
branches: | ||
only: master | ||
tags: | ||
only: /.*/ |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.