Nort User Manual: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:


=<tt>release</tt>=
=<tt>release</tt>=
The command queries and modifies release information metadata for the current work area.
To query the current release information, execute:
<pre>
release info
</pre>
To write a new release metadata into the current work area, use:
<pre>
release major|minor|patch|snapshot|<custom-release-string>
</pre>
The release increment does the following:
* Increments release metadata in the local workarea.
* Runs all tests.
If all tests succeed <font color=red>what now?</font>
If at least one test fails, the command restores the previous release metadata states, reports and fails.


=<tt>build</tt>=
=<tt>build</tt>=

Revision as of 03:40, 9 November 2016

Internal

Terms

Current Version

release

The command queries and modifies release information metadata for the current work area.

To query the current release information, execute:

release info

To write a new release metadata into the current work area, use:

release major|minor|patch|snapshot|<custom-release-string>

The release increment does the following:

  • Increments release metadata in the local workarea.
  • Runs all tests.

If all tests succeed what now?

If at least one test fails, the command restores the previous release metadata states, reports and fails.

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