You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Introduction

The js7 repository holds the source code to build JS7 Controllers and JS7 Agents.

Prerequisites

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.

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

Checkout

Checkout Tagged Version

Retrieve list of available tagged versions
git fetch --all --tags
Checkout 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.

Retrieve 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".

Checkout Latest
git checkout $tag -b latest

Build

  • No labels