Skip to content

Commit d142546

Browse files
authored
Update sync-fork.yml
1 parent e8375dd commit d142546

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/sync-fork.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
# find latest tag by commit date
5959
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
6060
echo "Latest upstream tag: $LATEST_TAG"
61+
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
6162
# check if tag exists in fork
6263
if ! git ls-remote --tags origin | grep -q "refs/tags/$LATEST_TAG"; then
6364
git push origin $LATEST_TAG
@@ -71,6 +72,5 @@ jobs:
7172
if: github.event_name == 'workflow_dispatch' || steps.push_tag.outputs.pushed == 'true' || !github.event_name
7273
with:
7374
tag: ${{ env.LATEST_TAG }}
74-
generate_release_notes: true
75-
draft: false
76-
prerelease: false
75+
generateReleaseNotes: true
76+
skipIfReleaseExists: true

0 commit comments

Comments
 (0)