deploy-vir 0.2.3 → 0.2.4

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/dist/git.js CHANGED
@@ -83,7 +83,7 @@ export async function pushDeploy(git, { deployName, fromBranch, toBranch }, remo
83
83
  log.faint(` ${index + 1}. ${commit.hash.slice(0, 7)} (${commit.author_name}) - ${commit.message}`);
84
84
  });
85
85
  }
86
- const shouldForcePush = await askQuestion(`\nDo you want to force push ${logColors.bold}${fromBranch}${logColors.reset} to ${logColors.bold}${toBranch}${logColors.reset}?\n\n${logColors.warning}This will overwrite the commits only on ${logColors.bold}${toBranch}${logColors.reset}.${logColors.reset} (y/N): `);
86
+ const shouldForcePush = await askQuestion(`\nDo you want to force push ${logColors.bold}${fromBranch}${logColors.reset} to ${logColors.bold}${toBranch}${logColors.reset}?\n\n${logColors.warning}This will overwrite the commits only on ${logColors.bold}${toBranch}${logColors.normalWeight}.${logColors.reset} (y/N): `);
87
87
  if (shouldForcePush.toLowerCase() === 'y' || shouldForcePush.toLowerCase() === 'yes') {
88
88
  await git.push(remoteName, pushString, ['--force']);
89
89
  log.warning(`Force pushed ${logColors.bold}${fromBranch}${logColors.reset} to ${logColors.bold}${toBranch}${logColors.reset}.`);
@@ -49,7 +49,7 @@ export async function sendNotificationToSlack({ branchConfig, deployResult: { de
49
49
  type: 'context',
50
50
  text: {
51
51
  type: 'mrkdwn',
52
- text: `${beforeText} -> ${afterText}`,
52
+ text: `${beforeText} :arrow_right: ${afterText}`,
53
53
  },
54
54
  },
55
55
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deploy-vir",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Deploy a branch to another branch with notifications.",
5
5
  "keywords": [
6
6
  "deploy",
package/src/git.ts CHANGED
@@ -174,7 +174,7 @@ export async function pushDeploy(
174
174
  }
175
175
 
176
176
  const shouldForcePush = await askQuestion(
177
- `\nDo you want to force push ${logColors.bold}${fromBranch}${logColors.reset} to ${logColors.bold}${toBranch}${logColors.reset}?\n\n${logColors.warning}This will overwrite the commits only on ${logColors.bold}${toBranch}${logColors.reset}.${logColors.reset} (y/N): `,
177
+ `\nDo you want to force push ${logColors.bold}${fromBranch}${logColors.reset} to ${logColors.bold}${toBranch}${logColors.reset}?\n\n${logColors.warning}This will overwrite the commits only on ${logColors.bold}${toBranch}${logColors.normalWeight}.${logColors.reset} (y/N): `,
178
178
  );
179
179
 
180
180
  if (shouldForcePush.toLowerCase() === 'y' || shouldForcePush.toLowerCase() === 'yes') {
@@ -73,7 +73,7 @@ export async function sendNotificationToSlack({
73
73
  type: 'context',
74
74
  text: {
75
75
  type: 'mrkdwn',
76
- text: `${beforeText} -> ${afterText}`,
76
+ text: `${beforeText} :arrow_right: ${afterText}`,
77
77
  },
78
78
  },
79
79
  {