Nort User Manual: Difference between revisions
Line 38: | Line 38: | ||
<font color=red>If a custom release string is used, the string is checked for consistency. The release process will fail if the version string is invalid or represents an older version than the current.</font> | <font color=red>If a custom release string is used, the string is checked for consistency. The release process will fail if the version string is invalid or represents an older version than the current.</font> | ||
==Options== | |||
===--no-push=== | |||
<font color=red>changes won't be pushed into the remote repository. Useful when the release process takes place offline. The changes will have to be manually pushed later.</font> | |||
===--no-tests=== | |||
<font color=red>won't run the test suite upon release. Not usually recommended, unless we're releasing a snapshot.</font> | |||
=<tt>build</tt>= | =<tt>build</tt>= |
Revision as of 03:30, 23 November 2016
Internal
Concepts
Global Options
-v|--verbose
Enable verbose execution
-d|--debug
Starts the JVM in debug mode.
release
The command queries or modifies release information metadata for the current work area and performs the sequence of steps required to do a release. For more details about what a release is, and what those steps are, see the "Release" section.
To query the work area and display the current version, execute:
release info
To initiate a release sequence, use:
release major|minor|patch|snapshot|<custom-release-string>
For more details on what a release sequence does, see the "Release Sequence" section.
If a custom release string is used, the string is checked for consistency. The release process will fail if the version string is invalid or represents an older version than the current.
Options
--no-push
changes won't be pushed into the remote repository. Useful when the release process takes place offline. The changes will have to be manually pushed later.
--no-tests
won't run the test suite upon release. Not usually recommended, unless we're releasing a snapshot.
build
The command creates releasable artifacts (binary distributions or libraries, depending on the nature of the project) for the current version. If the build process is successful, the artifacts are stored in the build area ("target" directory, for Maven) of the current work area.
install
nort initialize
Initializes a new project.
For more details on new project initialization see: