Skip to content
SomMeri edited this page Oct 29, 2012 · 28 revisions

1. Documentation

  • Update wiki and readme.md.
  • Add the next version to the released versions page.
  • Update maven dependency version number in readme.md.

2. Maven Central Release

Create, tag and upload jar:

  • mvn clean release:prepare -Dusername=<Github Username> -Dpassword=<Github Password>
  • mvn release:perform -Dgpg.passphrase=<pgp passphrase>

Finish release in maven central:

3. Tag Wiki

  • Download wiki git clone https://github.com/SomMeri/less4j.wiki.git.
  • Tag wiki git tag less4j-<version>.
  • Push all tags git push --tags.

4. Command Line Version

  • Clone repository somewhere: git clone https://github.com/SomMeri/less4j.git.
  • Enter repository.
  • Checkout last tag: git checkout less4j-<version>.
  • Run mvn package.
  • Take the target/less4j-<version>-shaded.jar file and copy it into the distribution directory of the actual repo.
  • Rename that file.
  • Commit and push it.