Keep previous example changes out of subsequent release PRs #234
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've always found it weird that for a release of version X, the example updates in the release PR are for version X-1.
We can eliminate those diffs instead by using examples update "hotfix" by doing a PR from the new tag^ -> main, and then merging that back to develop.
Notably, these X-1 changes will still appear in a tag-to-tag comparison because they would still be done after the tag is created. We'd have to work out some way to inject it before the tag if we wanted to eliminate that entirely. 🤔 though, that could be done as part of the bump-version workflow...
^ Update examples workflow checks out the refs for the context in which it's run. For tag push event, it'll check out the tag as seen here: https://github.com/ASFHyP3/actions/actions/runs/12657206611/job/35271475456#step:2:63
TODO: