-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace all mentions of master to main #4109
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,13 +108,13 @@ def do_release(package): | |
@task() | ||
def deploy(): | ||
HEAD = tools.hash_for_name("HEAD") | ||
MASTER = tools.hash_for_name("origin/master") | ||
MASTER = tools.hash_for_name("origin/main") | ||
|
||
print("Current head: ", HEAD) | ||
print("Current master:", MASTER) | ||
print("Current main:", MASTER) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's rename this constant too |
||
|
||
if not tools.is_ancestor(HEAD, MASTER): | ||
print("Not deploying due to not being on master") | ||
print("Not deploying due to not being on main") | ||
sys.exit(0) | ||
|
||
if "TWINE_PASSWORD" not in os.environ: | ||
|
@@ -271,7 +271,7 @@ def update_python_versions(): | |
install.ensure_python(PYTHONS[ci_version]) | ||
where = os.path.expanduser("~/.cache/hypothesis-build-runtimes/pyenv/") | ||
subprocess.run( | ||
"git fetch && git reset --hard origin/master", | ||
"git fetch && git reset --hard origin/main", | ||
Comment on lines
272
to
+274
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pyenv again. It's pretty weird that our scripts operate an entirely separate git repo, but here we are. |
||
cwd=where, | ||
shell=True, | ||
capture_output=True, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ Details of how to guest post on here: | |
1. This site is [a Jekyll site on GitHub](https://github.com/HypothesisWorks/HypothesisWorks.github.io). | ||
To add a post, create a markdown file in the _posts directory with the | ||
appropriate structure and send a pull request. | ||
2. You will want to add an entry for yourself to [the authors data file](https://github.com/HypothesisWorks/HypothesisWorks.github.io/blob/master/_data/authors.yml) | ||
2. You will want to add an entry for yourself to [the authors data file](https://github.com/HypothesisWorks/HypothesisWorks.github.io/blob/main/_data/authors.yml) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for (much) later: ooh, on top of the general finish-the-website-update #2943, I should make sure that all the urls point to this repo and archive the old one. |
||
3. You of course retain all copyright to your work. All you're granting is the right to publish it on this site. | ||
|
||
I'd particularly like to hear from: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is
pyenv
, which still usesmaster
.