Skip to content

Commit

Permalink
Merge pull request #19 from dannysauer/fix_tag_namespace
Browse files Browse the repository at this point in the history
Add namespace to tag version output
  • Loading branch information
PaulHatch authored Jan 28, 2021
2 parents 6e48779 + 63597fe commit 2909e6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2909e6b

Please sign in to comment.