Automate version numbering using Semantic Versionning (semantic-release-gitlab)
https://www.npmjs.com/package/semantic-release-gitlab from https://semver.org/ : Given a version number MAJOR.MINOR.PATCH, increment the: - MAJOR version when you make incompatible API changes, - MINOR version when you add functionality in a backwards-compatible manner, and - PATCH version when you make backwards-compatible bug fixes. For MAJOR, choosing 6 is obvious. From Minor it's not clear. This number is supposed to reflect the number of add functuionnality, so starting at 0 is not great. The current version is 1.762, but starting at 762 would be wrong too, as most do not deals with new functionnalyties. In a ideal word, I should use the log and tag every commit tha deals with a new functionnalyty, but there is a lot of commits (762). Hence I,'ve decided to choose 100.
Showing
- .gitlab-ci.yml 11 additions, 0 deletions.gitlab-ci.yml
- Makefile.dev 2 additions, 1 deletionMakefile.dev
- _oasis 1 addition, 1 deletion_oasis
- lv6-ref-man/lv6-ref-man.pdf 0 additions, 0 deletionslv6-ref-man/lv6-ref-man.pdf
- package.json 23 additions, 0 deletionspackage.json
- src/lv6version.ml 3 additions, 4 deletionssrc/lv6version.ml
No preview for this file type
package.json
0 → 100644
{ | ||
"name": "lustre", | ||
"version": "6.100.0", | ||
"description": "The Lustre V6 Verimag compiler", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "make test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lustre-v6.git" | ||
}, | ||
"keywords": [ | ||
"synchronous languages", | ||
"reactive programs" | ||
], | ||
"author": "Erwan Jahier", | ||
"license": "CeCILL", | ||
"devDependencies": { | ||
"semantic-release-gitlab": "^7.1.1", | ||
"semantic-release-gitlab-releaser": "^5.1.1" | ||
} | ||
} |
Please register or sign in to comment