Skip to content

fix: release pipeline committing to wrong branch#1577

Merged
lkstrp merged 4 commits intoPyPSA:masterfrom
lkstrp:fix-release-pipeline
Feb 23, 2026
Merged

fix: release pipeline committing to wrong branch#1577
lkstrp merged 4 commits intoPyPSA:masterfrom
lkstrp:fix-release-pipeline

Conversation

@lkstrp
Copy link
Copy Markdown
Member

@lkstrp lkstrp commented Feb 23, 2026

Changes proposed in this Pull Request

Release v1.1.1 needs to be yanked since it was released from the wrong branch. That could happen since the release preparation step detected the wrong branch when other branches had merged the master already, causing v1.1.1 to be built from feat/link-delay. --contains returns all branches that have the commit anywhere in their history, and head -n 1 picked the first one alphabetically, which doesn't always need to resolve to the master if the was already merged back in between. git branch --points-at which only matches branches whose tip is the tagged commit, which fixes the issue.

@lkstrp lkstrp force-pushed the fix-release-pipeline branch from 458a8ef to 286bfb4 Compare February 23, 2026 15:42
@lkstrp lkstrp merged commit 6a6816c into PyPSA:master Feb 23, 2026
24 checks passed
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.

1 participant