mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 13:08:17 +00:00
Merge pull request #19 from dannysauer/fix_tag_namespace
Add namespace to tag version output
This commit is contained in:
commit
2909e6bd51
1 changed files with 4 additions and 0 deletions
4
index.js
4
index.js
|
|
@ -51,6 +51,10 @@ const setOutput = (major, minor, patch, increment, changed, branch, namespace) =
|
||||||
tag = `${tagPrefix}${major}`;
|
tag = `${tagPrefix}${major}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (namespace !== '') {
|
||||||
|
tag += `-${namespace}`
|
||||||
|
}
|
||||||
|
|
||||||
const repository = process.env.GITHUB_REPOSITORY;
|
const repository = process.env.GITHUB_REPOSITORY;
|
||||||
|
|
||||||
if (!changed) {
|
if (!changed) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue