From 63597febc673f20e4c71dd12733107c539fba62e Mon Sep 17 00:00:00 2001 From: Danny Sauer Date: Thu, 28 Jan 2021 15:30:18 -0600 Subject: [PATCH] Add namespace to tag version output --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 0196232..1acd438 100644 --- a/index.js +++ b/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) {