You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The release steps in the contributing guide (docs/contributing/index.md) start with git switch --detach <sha>. If that fails, e.g. because the maintainer's checkout has uncommitted changes, the next commands still run when pasted: python scripts/citation.py check then checks the wrong commit, although the push and the tag still name the commit. The chart release steps in docs/helm-chart.md tag HEAD without naming the commit at all.
Change the package release steps to:
run in a new detached worktree at the release commit (git worktree add --detach), so the maintainer's checkout stays as it is;
chain the commands with &&, so that they stop at the first error;
name the commit in every push and tag;
remove the worktree at the end.
The chart release steps check no files, so they need no worktree: name the commit in the tag and chain the commands the same way.
Activity