Skip to content

Commit

Permalink
Use unambigious full URL when pushing a release-prep PR (#20412)
Browse files Browse the repository at this point in the history
This adjusts `start_release.py ... --publish` to push to
`[email protected]:pantsbuild/pants.git` directly, rather than relying on
the `origin` remote existing/having 'sensible' behaviour. This aligns it
with `release.py tag-release`.
  • Loading branch information
huonw authored Jan 16, 2024
1 parent c39fbd6 commit ca5ddc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants_release/start_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def commit_and_pr(
git("checkout", "-b", branch)
git("add", str(VERSION_PATH), str(CONTRIBUTORS_PATH))
git("commit", "-m", title)
git("push", "origin", "HEAD")
git("push", "[email protected]:pantsbuild/pants.git", "HEAD")

pr = repo.create_pull(
title=title,
Expand Down

0 comments on commit ca5ddc6

Please sign in to comment.