Skip to content

fix: improve robustness of prerelease documentation cleanups - #1620

Merged
moe-ad merged 2 commits into
mainfrom
fix/robustness-of-prerelease-cleanups
Oct 23, 2026
Merged

moe-ad merged 2 commits into
mainfrom
fix/robustness-of-prerelease-cleanups

Conversation

@moe-ad

@moe-ad moe-ad commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Normally when a prereleases exists, a subsequent stable release cleans up these prereleases.

v11.1.0rc0 of Ansys Actions had already been released some weeks prior. When we tried releasing v11.1.0 yesterday, a job failed just before the deployment of the stable docs could be triggered (which would have cleaned up the prerelease, see the release workflow). We then had to release v11.1.1 instead (well, because v11.1.0 went through to Test PyPI and overwriting exisiting release isn't allowed on Test PyPI) but soon discovered that the prerelease was never cleaned up.

The root cause is basically that we never anticipated the current scenario, so the logic for cleaning up prereleases assumes that the stable doc release will always go through and does not account for stale prereleases.

This PR fixes that.

@moe-ad moe-ad self-assigned this Oct 23, 2026
@moe-ad
moe-ad requested a review from a team as a code owner October 23, 2026 08:25
@github-actions github-actions Bot added the fix Pull requests related to resolving problems or errors label Oct 23, 2026

@jorgepiloto jorgepiloto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for improving this, @moe-ad

@moe-ad
moe-ad merged commit 71f5ffc into main Oct 23, 2026
91 checks passed
@moe-ad
moe-ad deleted the fix/robustness-of-prerelease-cleanups branch October 23, 2026 09:06
moe-ad added a commit that referenced this pull request Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Pull requests related to resolving problems or errors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants