Add instructions to update_version.py and adjust contributing.asciidoc accordingly.
This commit is contained in:
parent
a2856bee2b
commit
a9f9de4b35
|
|
@ -699,14 +699,7 @@ qutebrowser release
|
|||
* Update changelog (remove *(unreleased)*) and commit.
|
||||
* If committing on minor branch, cherry-pick release commit to master.
|
||||
* Mark the milestone at https://github.com/qutebrowser/qutebrowser/milestones as closed.
|
||||
* Run `VERSION_TAG=$(./.venv/bin/python3 scripts/dev/update_version.py major | minor | patch)`.
|
||||
* Run `git push origin; git push $VERSION_TAG`.
|
||||
* Create new release via GitHub (required to upload release artifacts).
|
||||
* Linux: Run `git checkout $VERSION_TAG && ./.venv/bin/python3 scripts/dev/build_release.py --upload`.
|
||||
* Windows: Run `git checkout $VERSION_TAG; py -3 scripts\dev\build_release.py --asciidoc C:\Python27\python %userprofile%\bin\asciidoc-8.6.10\asciidoc.py --upload`.
|
||||
* macOS: Run `git checkout $VERSION_TAG && python3 scripts/dev/build_release.py --upload`.
|
||||
* On server:
|
||||
- Run `python3 scripts/dev/download_release.py v1.X.Y` (replace X/Y by hand).
|
||||
- Run `git pull github master && sudo python3 scripts/asciidoc2html.py --website /srv/http/qutebrowser`
|
||||
* Run `./.venv/bin/python3 scripts/dev/update_version.py {major,minor,patch}`.
|
||||
* Run the printed instructions accordingly.
|
||||
* Update `qutebrowser-git` PKGBUILD if dependencies/install changed.
|
||||
* Announce to qutebrowser and qutebrowser-announce mailinglist.
|
||||
|
|
|
|||
|
|
@ -99,4 +99,27 @@ if __name__ == "__main__":
|
|||
|
||||
write_appdata(appdata_tree)
|
||||
|
||||
print(__version__)
|
||||
print("Run the following commands to create a new release:")
|
||||
|
||||
print("* Run `git push origin; git push {v}`.".format(v=__version__))
|
||||
|
||||
print("* Create new release via GitHub",
|
||||
"(required to upload release artifacts).")
|
||||
|
||||
print("* Linux: Run `git checkout {v} &&".format(v=__version__),
|
||||
"./.venv/bin/python3 scripts/dev/build_release.py --upload`")
|
||||
|
||||
print("* Windows: Run `git checkout {v};".format(v=__version__),
|
||||
"py -3 scripts\dev\\build_release.py --asciidoc",
|
||||
"C:\Python27\python",
|
||||
"%userprofile%\\bin\\asciidoc-8.6.10\\asciidoc.py --upload`.")
|
||||
|
||||
print("* macOS: Run `git checkout {v} &&".format(v=__version__),
|
||||
"python3 scripts/dev/build_release.py --upload`.")
|
||||
|
||||
print("* On server:")
|
||||
print("- Run `python3 scripts/dev/download_release.py",
|
||||
"v{v}`.".format(v=__version__))
|
||||
print("- Run `git pull github master &&",
|
||||
"sudo python3 scripts/asciidoc2html.py",
|
||||
"--website /srv/http/qutebrowser`")
|
||||
|
|
|
|||
Loading…
Reference in New Issue