Skip to content

fix: only check version against tag, if triggered by a tag#10

Merged
fredo merged 1 commit intomainfrom
fix/build-images-main
Jun 17, 2025
Merged

fix: only check version against tag, if triggered by a tag#10
fredo merged 1 commit intomainfrom
fix/build-images-main

Conversation

@fredo
Copy link
Contributor

@fredo fredo commented Jun 17, 2025

We only need to check the Cargo.toml version if we create a new release and the workflow is triggered by the tag.
The workflow can also be triggered by a push on main, which obviously has nothing to check.

The check is a safety mechanism that we don't forget updating the version in the Cargo.toml before creating a release.

@fredo fredo merged commit 028d778 into main Jun 17, 2025
4 checks passed
@fredo fredo deleted the fix/build-images-main branch June 17, 2025 12:52
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