Skip to content

Conversation

@datenreisender
Copy link
Contributor

The nordic-publish script checks that the app is in a releasable state, e.g. if an official release is done that there is an appropriate entry in the changelog.

But the GitHub release was created before that check.

So, if the the check failed, a GitHub release was still created. So that had to be removed manually before trying another release.

Because of this, the nordic-publish is now run before creating the GitHub release.

Even better would be to run all release checks before either creating the GitHub release or releasing to Artifactory but that would be more effort than this simpler fix.

The nordic-publish script checks that the app is in a releasable state,
e.g. if an official release is done that there is an appropriate entry
in the changelog.

But the GitHub release was created before that check.

So, if the the check failed, a GitHub release was still created. So that
had to be removed manually before trying another release.

Because of this, the nordic-publish is now run before creating the
GitHub release.

Even better would be to run _all_ release checks before either creating
the GitHub release or releasing to Artifactory but that would be more
effort than this simpler fix.
@datenreisender datenreisender changed the title Fix: Failing app release still creates GH release Fix: Failing app release still created GH release Nov 27, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a workflow ordering issue where GitHub releases were being created before validation checks, causing releases to persist even when the publish script failed its checks (e.g., missing changelog entries).

Key Changes:

  • Reordered workflow steps to run nordic-publish.js validation before creating the GitHub release

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@datenreisender datenreisender merged commit d99da8c into main Nov 27, 2025
2 checks passed
@datenreisender datenreisender deleted the push-oqworomntwzu branch November 27, 2025 10:51
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