@docupace/pipeline 1.0.39-matttest.30 → 1.0.39-matttest.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.39-matttest.30",
3
+ "version": "1.0.39-matttest.32",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -56,7 +56,12 @@ async function commitTagMono(releases) {
56
56
  const appName = getAppNameFromPackageName(release.name);
57
57
  versions.push(`${appName}@${newVersion}`);
58
58
  }
59
+
60
+ const { stdout } = await $`git symbolic-ref refs/remotes/origin/HEAD`;
61
+ const defaultBranch = stdout.trim().replace('refs/remotes/origin/', '');
62
+
59
63
  await $`git commit -m "Version bump to ${versions.join(',')} and changelog"`;
64
+ await $`git push origin ${defaultBranch}`;
60
65
  for (const newVersion of versions) {
61
66
  await $`git tag ${newVersion}`;
62
67
  console.log(`✅ Version ${newVersion} tagged.`);