fix(release): keep changelog notes authoritative
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user