Skip to content

Add explanation when release task is not found while bumping a release#58

Merged
ayoy merged 1 commit intomainfrom
dominik/validate-version-bump-explanation
Sep 23, 2025
Merged

Add explanation when release task is not found while bumping a release#58
ayoy merged 1 commit intomainfrom
dominik/validate-version-bump-explanation

Conversation

@ayoy
Copy link
Copy Markdown
Contributor

@ayoy ayoy commented Sep 23, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/1203301625297703/task/1211436304902120?focus=true

Automated internal release bump will fail when run after merging a hotfix branch. That’s because when looking up the latest release version it founds the hotfix (hotfixes also create an internal tag) and then it fails to find its corresponding release task. This change logs an extra warning message instructing the user to re-run the bump workflow manually providing all parameters manually.

)
)
rescue FastlaneCore::Interface::FastlaneError
UI.important("Regular release task not found. If this is an automatic bump after merging a hotfix branch, this failure is expected. Rerun this workflow from an internal release branch, providing the release task URL explicitly.")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice message 🙌

Copy link
Copy Markdown
Contributor

@samsymons samsymons left a comment

Choose a reason for hiding this comment

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

LGTM, and the spec file changes look to cover each branch correctly - thanks for the change, this is a nice explanation!

@ayoy ayoy merged commit e1c54ff into main Sep 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants