Skip to content

Commit

Permalink
Merge pull request #71 from Clever/auto-releases
Browse files Browse the repository at this point in the history
generate VERSION for github-release on make generate
  • Loading branch information
mohit authored Oct 12, 2017
2 parents 7d1a190 + d40e8d8 commit 1e4ef4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
- [ ] Update swagger.yml version
- [ ] Run "make generate"
- [ ] After merging, add a github tag to your merge commit
3 changes: 3 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ deployment:
- $HOME/ci-scripts/circleci/dapple-deploy $DAPPLE_URL $DAPPLE_USER $DAPPLE_PASS $APP_NAME dev-infra confirm-then-deploy
- $HOME/ci-scripts/circleci/dapple-deploy $DAPPLE_URL $DAPPLE_USER $DAPPLE_PASS $APP_NAME production confirm-then-deploy
- $HOME/ci-scripts/circleci/npm-publish $NPM_TOKEN gen-js/
# create a VERSION file to push a github release
- cat ./swagger.yml | grep "^ version:" | cut -d":" -f2 | tr -d " " > ./VERSION
- $HOME/ci-scripts/circleci/github-release $GH_RELEASE_TOKEN
general:
build_dir: ../.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
4 changes: 1 addition & 3 deletions swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ info:
description: Minimal Workflow orchestrator for AWS Batch
# when changing the version here, make sure to
# 1. re-run `make generate` to generate clients and server
# 2. merge the new clients, and, after merging, tag the commit with the version:
# git tag -a vX.Y.Z -m "vX.Y.Z"
# git push origin --tags
# 2. merge the new clients
version: 0.6.3
x-npm-package: workflow-manager
schemes:
Expand Down

0 comments on commit 1e4ef4d

Please sign in to comment.