fix(release): keep changelog notes authoritative

This commit is contained in:
Mohamed Boudra
2026-04-23 06:43:18 +07:00
parent 9a35f35bab
commit f65f82bac9
3 changed files with 5 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ jobs:
release create "$RELEASE_TAG"
--repo "${{ github.repository }}"
--title "Paseo $RELEASE_TAG"
--generate-notes
--notes ""
)
if [[ "$IS_PRERELEASE" == "true" ]]; then

View File

@@ -65,7 +65,7 @@ jobs:
gh release create "$RELEASE_TAG" \
--repo "${{ github.repository }}" \
--title "Paseo $RELEASE_TAG" \
--generate-notes \
--notes "" \
$prerelease_flag || {
echo "Release creation raced with another workflow; continuing."
}

View File

@@ -54,7 +54,9 @@ jobs:
fi
create_if_missing="false"
if [ "$EVENT_NAME" = "workflow_dispatch" ] && [ "${INPUT_CREATE_IF_MISSING:-false}" = "true" ]; then
if [[ "$EVENT_NAME" = "push" && "$REF" == refs/tags/v* ]]; then
create_if_missing="true"
elif [ "$EVENT_NAME" = "workflow_dispatch" ] && [ "${INPUT_CREATE_IF_MISSING:-false}" = "true" ]; then
create_if_missing="true"
fi