This section describes how to access the stable version of OpenCourant. Review the How to Contribute section to create a clone of OpenCourant.
-
The Stable code in OpenCourant is set with a git tag
-
The Tag is in the main branch of OpenCourant.
-
It is named
latest-YYYYMMDD
Source code can be downloaded from the Releases area on GitHub
Command line calls permit gathering the tags from OpenCourant:
To gather all tags from OpenCourant
git fetch --tags origin main
To work on the latest stable version
export latest_tag=`git tag --sort=-version:refname |head -1`
git checkout $latest_tag
To gather all tags from OpenCourant
git fetch --tags origin main
git tag --sort=-version:refname > tags.txt
set /p latest-tag=<tags.txt
git checkout %latest-tag%
Command line calls permit gathering the tags from OpenCourant when the clone is from a fork:
To gather all tags from OpenCourant:
git fetch --tags upstream main
To work on the latest stable version:
export latest_tag=`git tag --sort=-version:refname |head -1`
git checkout $latest_tag
To gather all tags from OpenCourant:
git fetch --tags upstream main
To work on the latest stable version:
git tag --sort=-version:refname > tags.txt
set /p latest-tag=<tags.txt
git checkout %latest-tag%
