@edifice.io/cli 1.6.0-develop.8 → 1.6.0-develop.9

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": "@edifice.io/cli",
3
- "version": "1.6.0-develop.8",
3
+ "version": "1.6.0-develop.9",
4
4
  "description": "Edifice Frontend CLI",
5
5
  "keywords": [
6
6
  "frontend",
@@ -97,8 +97,10 @@ export const publish = async (options) => {
97
97
  const rawCommitsLog = (
98
98
  await simpleGit().log({ from: rangeFrom, to: "HEAD" })
99
99
  ).all.filter((c) => {
100
+ console.log(c.message);
100
101
  const exclude = [
101
102
  c.message.startsWith("Merge branch "), // No merge commits
103
+ c.message.includes("version & publish"), // No version bump commits
102
104
  c.message.startsWith(releaseCommitMsg("")), // No example update commits
103
105
  ].some(Boolean);
104
106
 
@@ -155,7 +157,6 @@ export const publish = async (options) => {
155
157
  RELEASE_ALL = true;
156
158
  }
157
159
  }
158
-
159
160
  return releaseLevel;
160
161
  },
161
162
  -1,
@@ -407,7 +408,7 @@ export const publish = async (options) => {
407
408
 
408
409
  console.info();
409
410
  console.info("Pushing changes...");
410
- execSync("git push");
411
+ execSync(`git push origin ${currentGitBranch()}`);
411
412
  console.info(" Changes pushed.");
412
413
 
413
414
  console.info();