We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8375dd commit d142546Copy full SHA for d142546
.github/workflows/sync-fork.yml
@@ -58,6 +58,7 @@ jobs:
58
# find latest tag by commit date
59
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
60
echo "Latest upstream tag: $LATEST_TAG"
61
+ echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
62
# check if tag exists in fork
63
if ! git ls-remote --tags origin | grep -q "refs/tags/$LATEST_TAG"; then
64
git push origin $LATEST_TAG
@@ -71,6 +72,5 @@ jobs:
71
72
if: github.event_name == 'workflow_dispatch' || steps.push_tag.outputs.pushed == 'true' || !github.event_name
73
with:
74
tag: ${{ env.LATEST_TAG }}
- generate_release_notes: true
75
- draft: false
76
- prerelease: false
+ generateReleaseNotes: true
+ skipIfReleaseExists: true
0 commit comments