We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61dd036 commit 81928f9Copy full SHA for 81928f9
.github/workflows/repo_sync.yml
@@ -28,7 +28,8 @@ jobs:
28
run: |
29
echo "Resetting origin to: https://github.com/${{ github.repository }}"
30
git remote set-url origin "https://github.com/${{ github.repository }}"
31
- push_result=$(git push origin ${{ env.branch }} --tags --force 2>&1)
+ git push origin ${{ env.branch }} --tags --force
32
+ push_result="Up to date"
33
echo git: $push_result
34
filtered=$(echo "$push_result" | grep -e "new tag.*v.* -> v.*" | grep -o " -> v.*" | grep -o "v.*" | cat)
35
echo "new_tags: $filtered"
0 commit comments