HACKING.adoc in asciidoctor-revealjs-1.0.2 vs HACKING.adoc in asciidoctor-revealjs-1.0.3

- old
+ new

@@ -96,10 +96,18 @@ In order to help troubleshoot issues and test syntax improvements, some minimalist asciidoc test files are provided. You can render the tests files and then load them in a browser and check if `asciidoctor-reveal.js` behaves as expected. === Initial Setup +Make sure to have a working version of `asciidoctor-reveals` this is usually +done with `bundler`: + + bundle config --local github.https true + bundle --path=.bundle/gems --binstubs=.bundle/.bin + +Go to `test/` folder and install `reveal.js`: + cd test/ git clone https://github.com/hakimel/reveal.js.git === Render tests into .html @@ -216,17 +224,18 @@ . Update the version in `lib/asciidoctor-revealjs/version.rb` and `package.json` . Update the changelog ** Generate author list with: + - git log <commit>.. --format="%aN" --reverse | perl -e 'my %dedupe; while (<STDIN>) { print unless $dedupe{$_}++}' | sort + git log <prev-version-tag>.. --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% . Push your changes (including the tag) +. Make a release on github (from changelog and copy from previous releases) . Pushing the gem on rubygems.org: + $ gem build asciidoctor-revealjs.gemspec $ gem push asciidoctor-revealjs-X.Y.Z.gem