Skip to content

Commit

Permalink
Prepared next release
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Oct 24, 2017
1 parent f314321 commit 3e8393f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
= CmdOption - Command line parsing has never been easier
:toc:
:toc-placement: preamble
:currentversion: 0.5.0
:documentedVersion: 0.5.1-SNAPSHOT
:currentversion: 0.6.0
:documentedVersion: 0.6.0
:githubUrl: https://github.com/ToToTec/CmdOption
:wikiUrl: {githubUrl}/wiki
:gitterUrl: https://gitter.im/ToToTec/CmdOption
Expand Down Expand Up @@ -686,10 +686,11 @@ To build and deploy new release use the `deploy-maven-central.sh` script.

Before cutting a new release, you should ensure/do:

* All tests have to pass!
* Update version (at least remove `-SNAPSHOT` suffix)
* Update Changelog in this `README.adoc` (add changes, add proper version and date)
* Create a git tag
* Update or add `@since` annotation in source code
* Do a full build - *All tests have to pass!*
* Update asciidoc-attributes and Changelog and in this `README.adoc` (add changes, add proper version and date)
* Commit and create a git tag
* run the deploy script `deploy-maven-central.sh`
* Stage and release repository in Sonatype Nexus (https://oss.sonatype.org/index.html#stagingRepositories)
* Update version (increment and add `-SNAPSHOT` suffix)
Expand All @@ -705,7 +706,7 @@ Have a look at some other projects I'm involved with:

== ChangeLog

=== CmdOption NEXT
=== CmdOption 0.6.0 - 2017-10-24

* Added `CmdlineParser.validate()` to detect configuration errors
* Extended documentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ protected CommandHandle scanCommand(final Object object) {
* @throws CmdlineParserException
* if the configutation is not valid.
*
* @since 0.5.1
* @since 0.6.0
*/
public void validate() {
validateOptions();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Apply an one-arg option to a {@link Byte} (or <code>byte</code>) field or
* method.
*
* @since 0.5.1
* @since 0.6.0
*/
public class ByteHandler implements CmdOptionHandler {

Expand Down
2 changes: 1 addition & 1 deletion mvn-shared.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
object CmdOption {
val groupId = "de.tototec"
val version = "0.5.1-SNAPSHOT"
val version = "0.6.0"
}

object Plugins {
Expand Down

0 comments on commit 3e8393f

Please sign in to comment.