Skip to content

Commit 81928f9

Browse files
authored
Update repo_sync.yml
1 parent 61dd036 commit 81928f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/repo_sync.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
run: |
2929
echo "Resetting origin to: https://github.com/${{ github.repository }}"
3030
git remote set-url origin "https://github.com/${{ github.repository }}"
31-
push_result=$(git push origin ${{ env.branch }} --tags --force 2>&1)
31+
git push origin ${{ env.branch }} --tags --force
32+
push_result="Up to date"
3233
echo git: $push_result
3334
filtered=$(echo "$push_result" | grep -e "new tag.*v.* -> v.*" | grep -o " -> v.*" | grep -o "v.*" | cat)
3435
echo "new_tags: $filtered"

0 commit comments

Comments
 (0)