Skip to content

Commit

Permalink
Do not try to publish a release on every push to develop. (#1261)
Browse files Browse the repository at this point in the history
  • Loading branch information
NodeGuy authored and fedekunze committed Sep 1, 2018
1 parent f44cbc1 commit 40464b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
- v2-dependencies-root-

- run: yarn install
- run: node tasks/releasePullRequest.js
- run: node tasks/createReleasePR.js

# Publish the release to GitHub.
publish:
Expand Down Expand Up @@ -184,7 +184,7 @@ workflows:
branches:
only: develop
tags:
only: /.+/
only: /^v.*/

release:
jobs:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

* test if build Voyager actually starts @faboweb

### Fixed

* Do not try to publish a release on every push to `develop`. @NodeGuy

## [0.10.2] - 2018-08-29

### Changed
Expand Down
2 changes: 1 addition & 1 deletion tasks/releasePullRequest.js → tasks/createReleasePR.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const pushCommit = async ({ token, head }) => {
// needed to authenticate properly
await git.addRemote("bot", `https://${token}@github.com/cosmos/voyager.git`)

await git.push("bot", `HEAD:${head}`, { "--tags": null })
await git.push("bot", `HEAD:${head}`)
}

const recentChanges = changeLog =>
Expand Down

0 comments on commit 40464b4

Please sign in to comment.