itsapi / github-listener

A Node.js continuous deployment system for Github.
http://github.com/itsapi/github-listener
GNU General Public License v2.0
7 stars 0 forks source link

Update semantic-release to the latest version 🚀 #74

Closed greenkeeper[bot] closed 8 years ago

greenkeeper[bot] commented 8 years ago

Version 6.3.2 of semantic-release just got published.

Dependency semantic-release
Current Version 4.3.5
Type devDependency

The version 6.3.2 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of semantic-release. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes v6.3.2

6.3.2 (2016-11-17)

Bug Fixes

  • use travis-deploy-once to reenable travis-pro support (2be6e5d3)

We always want semantic-release to be simple and clean.

On versions 4 and below it requires a Python script, configured with 3 additional lines in your .travis.yml file, to get semantic-release to properly work with test matrices (i.e. testing multiple node versions).

In an attempt to fix this we published version 6 and on with a bundled JavaScript version of that script, so there was no need for additional config anymore.
Unfortunately though this broke compatibility with Travis Pro, because the JavaScript version does not support that. Version 6 never reached the "latest" dist-tag and stayed on "next" for quite some time, just because of this.

This has been the sad state of semantic-release for way too long, so we built travis-deploy-once. Another very simple JavaScript version of that script, but with out-of-the-box Travis Pro support.

So here it is: semantic-release 6.3.2. No more python script awkwardness in your .travis.yml files, no more latest/next confusion.

The last version on "latest" was 4.3.5 so here are the breaking changes that happened since then. Upgrading should be trivial.

From 6.0.0: Breaking Changes

  • If you run travis_after_all and travis-after-all at the same time they'll keep waiting for each other until forever. You have to apply this patch to your .travis.yml.
---
 .travis.yml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a5fbddb..c76091b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,9 +14,6 @@ before_install:
 - npm i -g npm@^2.0.0
 before_script:
 - npm prune
-- curl -Lo travis_after_all.py https://git.io/vLSON
 after_success:
-- python travis_after_all.py
-- export $(cat .to_export_back)
 - npm run semantic-release
--

(ef162321)

From 5.0.0: Breaking Changes

  • In cases where you pushed a new commit with a "dist-tag" configuration of "next" and no version was previously published as "next", semantic-release failed and did not publish a new version. It will now automatically fall back to the "latest" version to determine a new "next" version.

(7a4c89f1)

Commits

The new version differs by 110 commits (ahead by 110, behind by 18).

  • 2be6e5d fix: use travis-deploy-once to reenable travis-pro support
  • a5cb9ea fix(gitlog): increase maxBuffer
  • 15e6daf Merge pull request #262 from semantic-release/greenkeeper-npmlog-4.0.0
  • 2326cda chore(package): update npmlog to version 4.0.0
  • 4afb280 chore(package): update tap to version 6.2.0 (#260)
  • 7da7695 chore(package): update nyc to version 7.0.0 (#255)
  • 41125ee docs(readme): fix grammar
  • cca50ef Merge pull request #212 from semantic-release/greenkeeper-nock-8.0.0
  • 4807dee Merge branch 'caribou' into greenkeeper-nock-8.0.0
  • f89792e Merge pull request #226 from semantic-release/greenkeeper-run-auto-2.0.0
  • 4078638 Merge branch 'caribou' into greenkeeper-run-auto-2.0.0
  • 89ded2d refactor(pre): adapt to new run-auto api
  • 0a89265 Merge pull request #227 from aquavitae/caribou
  • ad2a615 feat(ssl): expose cafile from npm config
  • 45e04be chore(package): update run-auto to version 2.0.0

There are 110 commits in total. See the full diff.

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree: