semver-ratchet 1.1.2 → 1.1.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/package.json +1 -1
- package/src/cli.js +2 -2
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
pushGitTag,
|
|
14
14
|
isMainBranch,
|
|
15
15
|
parseSemver,
|
|
16
|
-
|
|
16
|
+
getGitAdapterInstance,
|
|
17
17
|
} from './version.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -110,7 +110,7 @@ function cmdCheckMonotonic(_args) {
|
|
|
110
110
|
// For main branch, compare with latest tag
|
|
111
111
|
if (isMainBranch(_args.trunkName)) {
|
|
112
112
|
try {
|
|
113
|
-
const adapter =
|
|
113
|
+
const adapter = getGitAdapterInstance();
|
|
114
114
|
const latestTag = adapter.getLatestTag();
|
|
115
115
|
|
|
116
116
|
if (latestTag) {
|