Skip to content

Conversation

@rolodato
Copy link
Contributor

@rolodato rolodato commented Dec 18, 2024

This workflow run was meant to publish version 6.0.0 and succeeded: https://github.com/Flagsmith/flagsmith-dotnet-client/actions/runs/12350235990/job/34462737804

However, the last published version is still 5.4.3: https://www.nuget.org/packages/Flagsmith. This is because we didn't bump the version here before releasing:

The workflow succeeded because it uses dotnet nuget push --skip-duplicate. This is intended to handle partial failures when publishing multiple packages at once, which we don't want since we only have one package to publish.

This change also bumps the version to 6.0.0.

Note: this is completely untested!

@rolodato rolodato changed the title fix: Fail publishing workflow if trying to release a duplicate version + bump to 6.0.0 ci: Fail publishing workflow if trying to release a duplicate version + bump to 6.0.0 Dec 18, 2024
@rolodato rolodato requested a review from khvn26 December 18, 2024 17:33
@khvn26
Copy link
Member

khvn26 commented Dec 18, 2024

I'm going to merge this and test by trying to publish 6.0.0 twice.

@khvn26 khvn26 merged commit 97a6f89 into main Dec 18, 2024
10 checks passed
@khvn26 khvn26 deleted the fix/duplicate-publish-workflow branch December 18, 2024 17:34
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.

3 participants