@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 +1 -1
- package/package.json +1 -1
- package/src/release.js +1 -4
package/README.md
CHANGED
package/package.json
CHANGED
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
|
-
|
|
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);
|