Skip to content

Commit d436918

Browse files
committed
fix: make release logic consistent
Signed-off-by: L0RD-ZER0 <68327382+L0RD-ZER0@users.noreply.github.com>
1 parent 0ee77f2 commit d436918

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ jobs:
6969
if [ "$tag_exists_on_github" == "true" ]; then
7070
echo "Tag $package@$version already exists on GitHub. Skipping creating a new tag."
7171
else
72-
echo "Creating tag $package@$version on GitHub"
73-
git tag "$package@$version"
74-
git push origin "$package@$version"
72+
echo "Creating release $package@$version on GitHub"
73+
bash '${{ github.workspace }}/.github/scripts/release_content.sh' "${{ github.workspace }}/$location/CHANGELOG.md" "$version"
74+
gh release create "$package@$version" --title "$package@$version" --notes-file /tmp/changelog.md
7575
fi
7676
continue
7777
else

0 commit comments

Comments
 (0)