Skip to content

Commit 8ee35e8

Browse files
committed
add fetching
1 parent e40d919 commit 8ee35e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,6 @@ jobs:
136136
run: git -c user.name="$USER" -c user.email="$EMAIL" commit --all -m "increment version after release"
137137

138138
- name: push updates
139-
run: git push origin "HEAD:$(git log --pretty='%D' | grep -oPm1 '(?<=origin/).*')"
139+
run: |
140+
git fetch origin 'refs/heads/*:refs/remotes/origin/*'
141+
git push origin "HEAD:$(git log --pretty='%D' | grep -oPm1 '(?<=origin/).*')"

0 commit comments

Comments
 (0)