Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip running the build if the version to be built is already published #170

Open
2 tasks done
corbob opened this issue Dec 18, 2024 · 0 comments
Open
2 tasks done

Comments

@corbob
Copy link
Member

corbob commented Dec 18, 2024

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

When we create a hotfix branch, TeamCity picks up the new reference and starts a build. Because the build is on a tag, it initiates all of the signing and other tagged requirements. This means it will get a version that is already published, and it will also sign the artifacts.

Describe The Solution. Why is it needed?

At some point in the recipe (I imagine it being after determining the version to use), determine if the version being built has already been published, if it has already been published abort the build (either success or failure, doesn't really matter, although success reduces alert fatigue).

Additional Context

It is possible that this logic is better stored in the TeamCity configuration. If that's the case we can close this issue and open issues on the corresponding repositories.

Related Issues

No response

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

No branches or pull requests

1 participant