@hubspot/npm-scripts 0.0.2-experimental.0 → 0.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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @hubspot/npm-scripts
1
+ # Dev-Experience-Fe-Scripts
2
2
 
3
3
  **A collection of scripts for internal HubSpot npm package development and management.**
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/npm-scripts",
3
- "version": "0.0.2-experimental.0",
3
+ "version": "0.0.2",
4
4
  "description": "Scripts for working with npm packages in the HubSpot ecosystem",
5
5
  "author": "",
6
6
  "license": "Apache-2.0",
package/src/release.js CHANGED
@@ -101,7 +101,6 @@ function buildHandler({ build, postLatestRelease, packageName, localVersion, reg
101
101
  await publish(tag, otp, isDryRun, registry);
102
102
  }
103
103
  catch (e) {
104
- logger.error(e);
105
104
  logger.error('An error occurred while releasing the CLI. Correct the error and re-run `yarn build`.');
106
105
  await gitCleanup(newVersion);
107
106
  process.exit(EXIT_CODES.ERROR);
@@ -118,9 +117,7 @@ function buildHandler({ build, postLatestRelease, packageName, localVersion, reg
118
117
  }
119
118
  }
120
119
  if (isDryRun) {
121
- if (!isExperimental) {
122
- await gitCleanup(newVersion);
123
- }
120
+ await gitCleanup(newVersion);
124
121
  logger.log(`\nDry run: skipping push to Github`);
125
122
  logger.log('Dry run release finished successfully');
126
123
  process.exit(EXIT_CODES.SUCCESS);