Github action that extracts a version number from the git branch name
Go to file
dependabot[bot] 8239657132
Bump node-fetch from 2.6.0 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.0 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.0...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 13:00:12 +00:00
.github/workflows Add Major/Minor/Patch versions 2020-07-05 09:50:20 +02:00
node_modules add @actions/exec and try to execute a command to get branch name. 2020-07-04 17:42:55 +02:00
action.yml Improve yml 2020-07-05 12:57:46 +02:00
index.js remove branchname output 2020-07-05 11:58:55 +02:00
LICENSE Initial commit 2020-07-04 14:57:04 +02:00
package-lock.json Bump node-fetch from 2.6.0 to 2.6.7 2022-01-22 13:00:12 +00:00
package.json add @actions/exec and try to execute a command to get branch name. 2020-07-04 17:42:55 +02:00
README.md Create README.md 2020-07-05 12:11:22 +02:00

semantic-git-version-action

Github action that extracts a version number from the git branch name

ex: releases/release-v1.0.0 -> 1.0.0

Outputs

Output
VERSION The full extracted version
MAJOR_VERSION Major version extracted from the name. First digit in the version scheme
MINOR_VERSION Minor version extracted from the name. Second digit in the version scheme (if present)
PATCH_VERISON Patch version extracted from the name. Third digit in the version scheme (if present)

This plugin only looks at the first 3 digits, rest is ignored.