Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Conversation

@ayoy
Copy link
Collaborator

@ayoy ayoy commented Mar 5, 2024

Task/Issue URL: https://app.asana.com/0/1177771139624306/1206760506719785/f
CC: @loremattei

Description:
As first step in Bump Internal Release and Publish DMG Release workflows, validate
that release notes in the Asana task are not empty or not a placeholder.

Steps to test this PR:
Fake Asana release task: link
Verify the following workflows:


Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

@ayoy ayoy requested a review from jotaemepereira March 5, 2024 16:36
@github-actions github-actions bot added the bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project label Mar 5, 2024
Comment on lines +41 to +42
Complete this task when ready and proceed with testing the build. If you're bumping an internal release, you should get another task asking you to publish the release in Sparkle.
Look for other tasks in <a data-asana-gid='${AUTOMATION_TASK_ID}'/> task and handle them as needed.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an unrelated change, but I forgot to save the file before submitting my previous pull request #2306

@ayoy ayoy removed the bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project label Mar 5, 2024
Comment on lines +129 to +132
release_notes="$(<release_notes.txt)"
if [[ ${#release_notes} == 0 || "$release_notes" == "<-- Add release notes here -->" ]]; then
echo "::error::Release notes are empty. Please add release notes to the Asana task and restart the workflow."
exit 1
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 129-132 is the new code. The rest was moved so that the check happens before fetching the DMG.

@ayoy ayoy merged commit 5088c45 into release/1.78.0 Mar 5, 2024
@ayoy ayoy deleted the dominik/validate-release-notes branch March 5, 2024 18:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants