HACKING.adoc in asciidoctor-revealjs-1.0.0 vs HACKING.adoc in asciidoctor-revealjs-1.0.1
- old
+ new
@@ -211,30 +211,18 @@
NOTE: The relative portion of the last command is where you are installing the local `asciidoctor-reveal.js` version from.
Then proceed as documented in the `README.adoc`.
-=== Publish a new version
+== Release process
-. Update the "version" field in `package.json`
-. Commit and push your changes
-. Create a tag
-. Using npm:
+. Update the version in `lib/asciidoctor-revealjs/version.rb` and `package.json`
+. Update the changelog
+** Generate author list with:
+
- $ npm login
- $ npm publish
+ git log <commit>.. --format="%aN" --reverse | perl -e 'my %dedupe; while (<STDIN>) { print unless $dedupe{$_}++}' | sort
-. Check that the new version is available on https://www.npmjs.com/package/asciidoctor-reveal.js[npmjs.com]
-
-
-== Ruby gem
-
-=== Publish a new version
-
-. Update the version in `lib/asciidoctor-revealjs/version.rb`
-. Update the changelog
-** Generate author list with `git log <commit>.. --format="%aN" --reverse | perl -e 'my %dedupe; while (<STDIN>) { print unless $dedupe{$_}++}' | sort `
. Prepare release commit
** commit msg: Prepare %version% release
** release commit (--allow-empty) msg: Release %version%
. Tag the release commit
** Annotated Tag msg: Version %version%
@@ -243,8 +231,14 @@
+
$ gem build asciidoctor-revealjs.gemspec
$ gem push asciidoctor-revealjs-X.Y.Z.gem
. Check that the new version is available on https://rubygems.org/gems/asciidoctor-revealjs[rubygems.org]
+. Publish the node package on npm:
++
+ $ npm login
+ $ npm publish
+
+. Check that the new version is available on https://www.npmjs.com/package/asciidoctor-reveal.js[npmjs.com]
. Update version (+1 bugfix and append '.dev') and commit
** commit msg: Begin development on next release