mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 13:08:17 +00:00
Add namespace to tag version output
This commit is contained in:
parent
12cce3bff2
commit
63597febc6
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}`;
|
||||
}
|
||||
|
||||
if (namespace !== '') {
|
||||
tag += `-${namespace}`
|
||||
}
|
||||
|
||||
const repository = process.env.GITHUB_REPOSITORY;
|
||||
|
||||
if (!changed) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue