Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 936 Bytes

MAINTAINING.md

File metadata and controls

36 lines (27 loc) · 936 Bytes

Maintaining

Releasing a new version

This project follows semver. So if you are making a bug fix, only increment the patch level "1.0.x". If any new files are added, a minor version "1.x.x" bump is in order.

Make a release commit

To prepare the release commit:

  1. Edit the coffee-script.gemspec s.version value.
  2. Make a single commit with the description as "Ruby CoffeeScript 1.x.x".
  3. Finally, tag the commit with v1.x.x.
$ git pull
$ vim coffee-script.gemspec
$ git add coffee-script.gemspec
$ git commit -m "Ruby CoffeeScript 1.x.x"
$ git tag v1.x.x
$ git push
$ git push --tags

Build source gem

When a CoffeeScript release is released to npm, it needs to be repackaged and published to RubyGems.

$ ./script/build-source-gem 1.x.x
$ gem push ./tmp/coffee-script-source-1.x.x.gem