Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The js7 project is a scala project and has to be build with sbt.

Clone Repository

Navigate to your desired destination folder and clone the repository from the github page.

Code Block
languagebash
git clone https://github.com/sos-berlin/js7

Checkout

Checkout Tagged Version

Code Block
languagebash
titleRetrieve list of available tagged versions
git fetch --all --tags
Code Block
languagebash
titleCheckout a desired version to a local branch
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
languagebash
titleRetrieve Latest Tagged Version
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
languagebash
titleCheckout Latest
git checkout $tag -b latest

Build