File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -104,14 +104,14 @@ Other people shouldn't need them.
104104 as that won't show up correctly on GitHub's releases page.
1051052 . Make a pull request of your changelog edits. Review carefully:
106106 changing the changelog afterwards is difficult, as the text gets copied into the releases page.
107- 3 . Merge the pull request and pull the merge commit to your local ` master ` branch.
108- 4 . Run ` python3 scripts/release.py ` from the ` master ` branch.
107+ 3 . Merge the pull request and pull the merge commit to your local ` main ` branch.
108+ 4 . Run ` python3 scripts/release.py ` from the ` main ` branch.
109109 The script pushes a tag named e.g. ` v2022.08.28 ` ,
110110 which triggers the parts of ` .github/workflows/release-builds.yml `
111111 that have ` if: startsWith(github.ref, 'refs/tags/v') ` in them.
112112 They build and deploy docs, copy the changelog to the releases page, and so on.
1131135 . Update ` porcupine.wiki ` if you added new features that are likely not obvious to users.
114114
115- If you want, you can also do a release from a branch named ` bugfix-release ` instead of ` master ` .
115+ If you want, you can also do a release from a branch named ` bugfix-release ` instead of ` main ` .
116116This is useful if you fixed a bug that made Porcupine unusable for someone,
117- but the new features on ` master ` aren't ready for releasing yet.
117+ but the new features on ` main ` aren't ready for releasing yet.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def main():
2626
2727 # https://stackoverflow.com/a/1593487
2828 branch = subprocess .check_output ("git symbolic-ref --short HEAD" , shell = True ).decode ().strip ()
29- assert branch in ("master " , "bugfix-release" )
29+ assert branch in ("main " , "bugfix-release" )
3030
3131 # If this fails you have uncommitted changes
3232 for line in subprocess .check_output ("git status --porcelain" , shell = True ).splitlines ():
You can’t perform that action at this time.
0 commit comments