Skip to content

Commit d443d96

Browse files
committed
patch: not sure why its rejecting push
1 parent 9b4a75c commit d443d96

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 0
1214

1315
- name: Install
1416
run: npm ci
@@ -22,7 +24,8 @@ jobs:
2224
2325
npm run build
2426
25-
git checkout -b v$VERSION_TAG
27+
git checkout master
2628
npm version $VERSION_TAG --git-tag-version=false
27-
git commit -am "Release version $VERSION_TAG [ci skip]"
28-
git push origin HEAD:release
29+
git commit -am "ci: release version $VERSION_TAG [ci skip]"
30+
git push origin -f HEAD:release
31+
git push origin HEAD:master

0 commit comments

Comments
 (0)