mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-01-23 02:35:34 +00:00
chore: added git stash to release
This commit is contained in:
parent
4e8bb72381
commit
2b3193378b
1 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ const readJson = (filename: string) => JSON.parse(fs.readFileSync(filename, {enc
|
|||
const assertWorkDirClean = (opts:{
|
||||
cwd?: string;
|
||||
} = {}) => {
|
||||
// Stash any changes in the working directory so that we can check for modifications.
|
||||
runc('git stash')
|
||||
opts.cwd = runc('git rev-parse --show-cdup', opts) || cwd;
|
||||
const m = runc('git diff-files --name-status', opts);
|
||||
console.log(">"+m.trim()+"<")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue