Skip to content

Releases: release-it/release-it

Release 3.0.0-beta.0

30 Aug 13:26
Compare
Choose a tag to compare
Release 3.0.0-beta.0 Pre-release
Pre-release

Release It! v3

Try it now: npm install -g release-it@beta

release-it

This is the first beta release of v3. Feel free to run it on your workload locally or CI environment. Remember, there is a "dry run" option, and a "no-questions-asked mode", working well together using release-it -dn:

dry

New features

  • Animated spinners, checkmarks and duration (in --non-interactive mode).
  • Disable specific tasks within the release process (e.g. skip tagging the commit).
  • Use --no- with CLI arguments to negate boolean settings, such as --no-npm.publish or --no-src.tag.
  • Separate github and npm configuration for source and dist repos.
  • Support for public scoped npm packages.

Breaking changes

  • npm
    • npm.publish is now true by default.
    • The npm. forcePublishSourceRepo is removed. Set npm.publish and dist.npm.publish to true as needed.
  • Github Release
    • Former githubAssets are now at github.assets and dist.github.assets.
    • Set github.release and/or dist.github.release to true as needed
  • Generic
    • Removed src.beforeStageCommand. It was pointless, as it was executed right before buildCommand (dist.beforeStageCommand is still there).
    • Removed implicit verbose output. Use --verbose as needed.
    • release-it --debug has become DEBUG=release-it:* release-it.

Under the hood

  • Finally, a test suite.
  • Use modern JavaScript (ES6+)
  • Switch from home-made async file copy module to cpy.
  • Switch from minimist to yargs-parser for CLI argument parsing.
  • Use ora for spinners and checkmarks.
  • Use debug package for debug output.
  • Less retries for GitHub releases/upload assets when it seems pointless to do so.

Release 2.8.5

06 Aug 21:27
Compare
Choose a tag to compare
  • Fix git push so it pushes tags and commits (bf1b3a3)

Release 2.8.4

06 Aug 21:16
Compare
Choose a tag to compare
  • Fix up github release retrier (9146499)
  • Fix github_token in debug mode (7e2f699)

Release 2.8.3

06 Aug 20:15
Compare
Choose a tag to compare
  • Set github.release (6e11b2c)
  • Merge push and pushTags tasks (0259211)
  • Use shell.exec for forced commands (e69737b)

Release 2.8.2

21 Jul 09:10
Compare
Choose a tag to compare
  • Log runtime options in debug mode (d9ad7e0)
  • Fix run() resolved value (1745f93)
  • Github assets: support an array syntax in .release.json (#102) (fc26e21)

Release 2.8.1

25 Jun 17:29
Compare
Choose a tag to compare
  • Increase usage of native promises (3e6c21a)
  • Upload assets in non-interactive mode (e863417)
  • Refactor logging a bit (741650a)
  • Refactor shell command handling (adbbb4a)
  • Add github.draft (close #100) (f16e010)

Release 2.8.0

24 Jun 13:43
Compare
Choose a tag to compare
  • Update readme (dc18969)
  • Add git.uploadAssets (closes #32) (01f7662)
  • Refactor github.release (using async-retry) (3be4539)
  • Fix logging of errors caused by shell commands (794be32)
  • Fixed typo in prerelease command (#93) (14642e6)

Release 2.7.3

05 May 20:06
Compare
Choose a tag to compare

Release 2.7.2

05 May 13:53
Compare
Choose a tag to compare
  • Fix support for Node v4 (fixes #88) (1843534)
  • Update a few links in readme (741f912)

Release 2.7.1

05 Apr 20:34
Compare
Choose a tag to compare
  • Change default answer to tag dist repo (f77a5c0)
  • Fix runtime remoteUrl prop (resolves #87) (fc9f2af)