Skip to content

Conversation

@sdn4z
Copy link
Collaborator

@sdn4z sdn4z commented Feb 7, 2025

Release notes are created at the moment we publish tags. However, the fact that we could publish them does not mean that the bump_version job was successful, like in this case, due to a misconfiguration of the rulesets.

An easy way to solve the issue above would be: 1)fix the rulesets 2) delete tags 3) rerun bump_version job. That's not currently possible, because in order to delete the tags we would need to first delete the release notes, and even if we did this, the job that publishes the release notes will be called twice.

This PR ensures that we only publish the release notes if all the other jobs have succeeded, to avoid unexpected consequences.

@sdn4z sdn4z requested a review from scastlara as a code owner February 7, 2025 10:44
@github-actions github-actions bot added the CI label Feb 7, 2025
@sdn4z sdn4z force-pushed the release-after-publish branch from 3a96094 to 90e8155 Compare February 7, 2025 10:53
@sdn4z sdn4z changed the base branch from release-after-publish to main February 7, 2025 10:56
@github-actions github-actions bot added CI and removed CI labels Feb 7, 2025
@sdn4z sdn4z force-pushed the release-after-publish branch from 90e8155 to 5c17ad5 Compare February 7, 2025 10:58
@sdn4z sdn4z force-pushed the release-after-publish branch from 5c17ad5 to fd87311 Compare February 7, 2025 10:59
@github-actions github-actions bot added CI and removed CI labels Feb 7, 2025
labels: ${{ steps.meta.outputs.labels }}
release_notes:
runs-on: ubuntu-latest
needs: push_to_docker_hub
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 the important addition, now it needs push_to_docker_hub before running

@sdn4z sdn4z merged commit d216f4e into elementsinteractive:main Feb 7, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants