Skip to content

Commit

Permalink
Try to checkout master before regenerating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brikis98 committed Oct 24, 2017
1 parent 0c9ae53 commit dcc5682
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ deployment:
- build-go-binaries --app-name boilerplate --dest-path bin --ld-flags "-X main.VERSION=$CIRCLE_TAG"
- upload-github-release-assets bin/*
# Generate the latest README it in the root folder and commit it to master
- git checkout master
- bin/boilerplate_linux_amd64 --template-folder _docs --output-folder . --non-interactive --var Version=$CIRCLE_TAG
- git-add-commit-push --path README.md --message "Automatically regenerate README for version $CIRCLE_TAG" --branch-name master --git-push-behavior current

0 comments on commit dcc5682

Please sign in to comment.