Skip to content

Commit

Permalink
Fix circle ci config
Browse files Browse the repository at this point in the history
Previously, the workflow did not run on tags. Now that the correct filter is applied
to the test job, the workflow will run for both releases and merges
  • Loading branch information
tamirms committed Jul 2, 2019
1 parent 880bc34 commit a5c07e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ workflows:
version: 2
test-and-deploy:
jobs:
- test
- test:
filters: # required since `deploy` has tag filters AND requires `build`
tags:
only: /.*/
- shadow_jar:
requires:
- test
Expand Down
2 changes: 2 additions & 0 deletions after_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ fi
rm -rf javadoc/* # Remove all files without hidden (.git)
javadoc -public -splitindex -windowtitle "java-stellar-sdk documentation" -d ./javadoc -sourcepath ./src/main/java/ -subpackages org.stellar.sdk -exclude org.stellar.sdk.xdr
cd javadoc
git config user.name "post-release-script"
git config user.email "post-release-script@stellar.org"
git add .
git commit -m $CIRCLE_TAG
git push origin gh-pages

0 comments on commit a5c07e6

Please sign in to comment.