fix(ci): stash before checkout in merge step
This commit is contained in:
@@ -152,6 +152,7 @@ jobs:
|
|||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
VERSION=$(jq -r '.version' package.json)
|
VERSION=$(jq -r '.version' package.json)
|
||||||
|
git stash --include-untracked || true
|
||||||
git checkout master
|
git checkout master
|
||||||
git reset --hard "v${VERSION}"
|
git reset --hard "v${VERSION}"
|
||||||
git push -f origin master
|
git push -f origin master
|
||||||
|
|||||||
Reference in New Issue
Block a user