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

Release version 1.0 #7

Merged
merged 6 commits into from
May 30, 2024
Merged

Release version 1.0 #7

merged 6 commits into from
May 30, 2024

Conversation

Smaug123
Copy link
Contributor

@Smaug123 Smaug123 commented May 29, 2024

This PR releases to NuGet and bumps the version to 1.0 at the same time; if I or JonathanG have got something wrong, there's a chance we may need to make changes and re-release at a larger version number, which would be aesthetically displeasing. But I'm pretty confident; it worked for HeterogeneousCollections.

I've also added path filters, and adjusted the pipelines to cope with the duplicate releases that will result whenever path filters cause a release to be skipped. It took quite a lot of faff to detect the "conflicting release" error GitHub gives us and throw only if it's unrecognised; and I haven't even attempted to do that on the NuGet push stage. Nor have I worked out how to pass down into those steps some notion of "this release is expected to conflict".

@Smaug123 Smaug123 requested review from a team as code owners May 29, 2024 21:52
nojaf
nojaf previously approved these changes May 30, 2024
if [ $script_exit_code != 0 ] ; then
echo "Test failure: got exit code $script_exit_code when we expected 0"
exit $script_exit_code
fi
Copy link
Contributor Author

@Smaug123 Smaug123 May 30, 2024

Choose a reason for hiding this comment

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

I haven't included a negative test here - I certainly could though. See https://github.com/Smaug123/WoofWare.Myriad/blob/6942ba42b977346bba8ddae44c879946b615c55f/.github/workflows/tag.sh for an example.

@Smaug123 Smaug123 merged commit 7b26d7f into main May 30, 2024
14 checks passed
@Smaug123 Smaug123 deleted the release branch May 30, 2024 21:42
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