@oneblink/release-cli 2.0.1 → 2.0.2

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.
@@ -176,15 +176,10 @@ export default async function startReleaseProcess({ nextVersion, preRelease, cwd
176
176
  ora(text).start().info(text);
177
177
  return;
178
178
  }
179
+ const message = `[RELEASE] ${nextSemverVersion}${releaseName ? ` - ${releaseName}` : ''}`;
179
180
  await executeCommand('git', ['add', '-A'], cwd);
180
- await executeCommand('git', ['commit', '--message', `[RELEASE] ${nextSemverVersion}`], cwd);
181
+ await executeCommand('git', ['commit', '--message', message], cwd);
181
182
  await executeCommand('git', ['push'], cwd);
182
- await executeCommand('git', [
183
- 'tag',
184
- '-a',
185
- `${GIT_TAG_PREFIX}${nextSemverVersion}`,
186
- '-m',
187
- `[RELEASE] ${nextSemverVersion}`,
188
- ], cwd);
183
+ await executeCommand('git', ['tag', '-a', `${GIT_TAG_PREFIX}${nextSemverVersion}`, '-m', message], cwd);
189
184
  await executeCommand('git', ['push', '--tags'], cwd);
190
185
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oneblink/release-cli",
3
3
  "description": "Used internally by OneBlink to release code bases quickly and consistently",
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "author": "OneBlink <developers@oneblink> (https://github.com/oneblink)",
6
6
  "bin": {
7
7
  "oneblink-release": "dist/bin.js"