diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-19 13:16:11 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-19 13:16:11 +0800 |
commit | 60d879e04537f2af4d7476d384fd0e2002a0fbd3 (patch) | |
tree | d85bf1536d665dc7b90b2b16a99794f8ebfbde71 /packages/monorepo-scripts | |
parent | 858d1768cecf165adefcdf860f247dad258d8cae (diff) | |
download | dexon-sol-tools-60d879e04537f2af4d7476d384fd0e2002a0fbd3.tar dexon-sol-tools-60d879e04537f2af4d7476d384fd0e2002a0fbd3.tar.gz dexon-sol-tools-60d879e04537f2af4d7476d384fd0e2002a0fbd3.tar.bz2 dexon-sol-tools-60d879e04537f2af4d7476d384fd0e2002a0fbd3.tar.lz dexon-sol-tools-60d879e04537f2af4d7476d384fd0e2002a0fbd3.tar.xz dexon-sol-tools-60d879e04537f2af4d7476d384fd0e2002a0fbd3.tar.zst dexon-sol-tools-60d879e04537f2af4d7476d384fd0e2002a0fbd3.zip |
Add comment
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r-- | packages/monorepo-scripts/src/remove_tags.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/remove_tags.ts b/packages/monorepo-scripts/src/remove_tags.ts index a91c6ec39..6d09729c7 100644 --- a/packages/monorepo-scripts/src/remove_tags.ts +++ b/packages/monorepo-scripts/src/remove_tags.ts @@ -18,6 +18,8 @@ import { utils } from './utils'; const packageName = lernaPackage.package.name; const currentVersion = lernaPackage.package.version; const changelogJSONPath = path.join(lernaPackage.location, 'CHANGELOG.json'); + // Private packages don't have changelogs, and their versions are always incremented + // by a patch version. const changelogJSONIfExists = utils.getChangelogJSONIfExists(changelogJSONPath); let latestChangelogVersion: string; |