Versions Compared

Key

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

Table of Contents

Introduction

For JOC Cockpit the joc-cockpit repository holds the The source code for the JOC Cockpit Angular based Web Browser web browser GUI used to manage JS7 is held in the joc-cockpit repository.

Prerequites

  • The joc-cockpit repository holds an Angular project wrapped in a maven project. To be able to build the Angular source code, node.js and npm (node package manager) have to be installed.
  • At the time of writing SOS uses node.js version v12.21.0 and npm version 6.14.11. The usage Use of the build tool is managed in the maven configuration of the project.

...

Checkout Latest Tagged Version

Determine the latest tagged version and store it to as a local variable.

Code Block
languagebash
titleRetrieve Latest Tagged Version
tag=$(git describe --tags `git rev-list --tags --max-count=1`)

Checkout the latest version as a "latest" local branch using the variable you have just stored variable to a local branch "latest".

Code Block
languagebash
titleCheckout Latest
git checkout $tag -b latest

...