@dhis2/cli-utils 5.2.0-alpha.7 → 5.2.0-alpha.9
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/cmds/release.js +9 -2
package/package.json
CHANGED
package/src/cmds/release.js
CHANGED
|
@@ -91,8 +91,7 @@ const handler = async ({ publish }) => {
|
|
|
91
91
|
const updateLockFile = [
|
|
92
92
|
'@semantic-release/exec',
|
|
93
93
|
{
|
|
94
|
-
|
|
95
|
-
'pnpm install --no-frozen-lockfile && git commit -am "chore(skip): update pnpm-lock.yml"', // ToDo: make it independent of npm
|
|
94
|
+
publishCmd: 'pnpm install --lockfile-only', // ToDo: make it independent of npm
|
|
96
95
|
},
|
|
97
96
|
]
|
|
98
97
|
const deferPlugin = require('../support/semantic-release-defer-release')
|
|
@@ -108,6 +107,14 @@ const handler = async ({ publish }) => {
|
|
|
108
107
|
gitPlugin,
|
|
109
108
|
'@semantic-release/github',
|
|
110
109
|
updateLockFile,
|
|
110
|
+
[
|
|
111
|
+
'@semantic-release/git',
|
|
112
|
+
{
|
|
113
|
+
assets: ['pnpm-lock.yaml'],
|
|
114
|
+
message:
|
|
115
|
+
'chore: bump pnpm-lock.yml ${nextRelease.version} [skip ci]',
|
|
116
|
+
},
|
|
117
|
+
],
|
|
111
118
|
]
|
|
112
119
|
|
|
113
120
|
/* rely on defaults for configuration, except for plugins as they
|