enablement-build-monorepo-version 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +3 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -193,9 +193,10 @@ async function main(options) {
|
|
|
193
193
|
let v = results[i].value.version;
|
|
194
194
|
if(!v) v=getCurrentVersion(options.prefixPath,packageFolder,results[i].value.name)?.version;
|
|
195
195
|
let rev=results[i].value.name+'@'+v;
|
|
196
|
-
|
|
196
|
+
v=results[i].value.name+'/'+v;
|
|
197
|
+
exec(`git describe --tags ${v}`, (err, tag, stderr) => {
|
|
197
198
|
if (err) {
|
|
198
|
-
exec(`git tag ${
|
|
199
|
+
exec(`git tag ${v} -m "${rev}"`, (err, tag, stderr) => {
|
|
199
200
|
if (err) {
|
|
200
201
|
reject(err);
|
|
201
202
|
return;
|