mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-17 16:47:05 +00:00
chore: use --no-git-tag-version for pnpm version to support dirty trees during release
This commit is contained in:
parent
0b0883c02b
commit
ad9f424eef
1 changed files with 5 additions and 1 deletions
|
|
@ -204,7 +204,11 @@ try {
|
|||
run('git pull --ff-only', {cwd: '../ether.github.com/'});
|
||||
console.log('Committing documentation...');
|
||||
run(`cp -R out/doc/ ../ether.github.com/public/doc/v'${newVersion}'`);
|
||||
run(`pnpm version ${newVersion}`, {cwd: '../ether.github.com'});
|
||||
// --no-git-tag-version: just update package.json. The git add+commit below
|
||||
// pick up both the bump and the freshly-copied docs in a single commit.
|
||||
// pnpm 11 refuses `pnpm version` on a dirty tree, and the doc copy above
|
||||
// dirties it, so we cannot let pnpm touch git here.
|
||||
run(`pnpm version --no-git-tag-version ${newVersion}`, {cwd: '../ether.github.com'});
|
||||
run('git add .', {cwd: '../ether.github.com/'});
|
||||
run(`git commit -m '${newVersion} docs'`, {cwd: '../ether.github.com/'});
|
||||
} catch (err:any) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue