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
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
release create "$RELEASE_TAG" release create "$RELEASE_TAG"
--repo "${{ github.repository }}" --repo "${{ github.repository }}"
--title "Paseo $RELEASE_TAG" --title "Paseo $RELEASE_TAG"
--generate-notes --notes ""
) )
if [[ "$IS_PRERELEASE" == "true" ]]; then if [[ "$IS_PRERELEASE" == "true" ]]; then
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
gh release create "$RELEASE_TAG" \ gh release create "$RELEASE_TAG" \
--repo "${{ github.repository }}" \ --repo "${{ github.repository }}" \
--title "Paseo $RELEASE_TAG" \ --title "Paseo $RELEASE_TAG" \
--generate-notes \ --notes "" \
$prerelease_flag || { $prerelease_flag || {
echo "Release creation raced with another workflow; continuing." echo "Release creation raced with another workflow; continuing."
} }
+3 -1
View File
@@ -54,7 +54,9 @@ jobs:
fi fi
create_if_missing="false" 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" create_if_missing="true"
fi fi