Page History
Introduction
The js7-api-schemas project GIT repository holds the RAML source of the JS7 JSON schemas for the JS7 REST API.
...
js7-inventory-schemas is a standard maven project and can be build with maven. SOS currently uses maven version 3.3.9.
...
Clone Repository
Navigate to your desired destination folder and clone the project repository from the github page.
Code Block | ||
---|---|---|
| ||
git clone https://github.com/sos-berlin/js7-api-schemas |
Checkout
Checkout Tagged Version
Code Block | ||||
---|---|---|---|---|
| ||||
git fetch --all --tags |
Code Block | ||||
---|---|---|---|---|
| ||||
git checkout tags/[desired version] -b [desired local branch name]
e.g.
git checkout tags/v2.0.0 -b release/v2.0.0 |
Checkout Latest Tagged Version
Determine latest tagged version and store it to a local variable.
Code Block | ||||
---|---|---|---|---|
| ||||
tag=$(git describe --tags `git rev-list --tags --max-count=1`) |
Checkout latest using the just stored variable to a local branch "latest".
Code Block | ||||
---|---|---|---|---|
| ||||
git checkout $tag -b latest |
Build
From the root of the checked out project call:
...
Overview
Content Tools