Skip to content
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

build(deps): bump actions/github-script from 6 to 7 #49

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.5.4
current_version = 4.2.0
commit = True
message = Release v{new_version}
tag = True
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bleeding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- /home/runner/work/_temp/:/home/runner/work/_temp/
options: --privileged --tty
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up problem matchers
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- testenv: actionlint
- testenv: package
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/cache@v3
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- /home/runner/work/_temp/:/home/runner/work/_temp/
options: --privileged --tty
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up problem matchers
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
python: "3.9"
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/cache@v3
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- archlinux-webengine-unstable-qt6
- archlinux-webengine-qt6
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.x'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
runs-on: "${{ matrix.os }}"
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: "${{ matrix.branch }}"
persist-credentials: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/recompile-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python 3.8
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
contents: write # To push release commit/tag
steps:
- name: Find release branch
uses: actions/github-script@v6
uses: actions/github-script@v7
id: find-branch
with:
script: |
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
console.log(`sorted: ${sorted}`);
return sorted.at(-1);
result-encoding: string
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -78,7 +78,7 @@ jobs:
git config --global user.name "qutebrowser bot"
git config --global user.email "bot@qutebrowser.org"
- name: Switch to release branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ steps.find-branch.outputs.result }}
- name: Import GPG Key
Expand All @@ -88,7 +88,7 @@ jobs:
id: bump
run: "tox -e update-version -- ${{ github.event.inputs.release_type }}"
- name: Check milestone
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const milestones = await github.paginate(github.rest.issues.listMilestones, {
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
permissions:
contents: write # To upload release artifacts
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: v${{ needs.prepare.outputs.version }}
- name: Set up Python
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
contents: write # To change release
steps:
- name: Publish final release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
await github.rest.repos.updateRelease({
Expand Down
14 changes: 13 additions & 1 deletion doc/changelog.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,20 @@ breaking changes (such as renamed commands) can happen in minor releases.
// `Fixed` for any bug fixes.
// `Security` to invite users to upgrade in case of vulnerabilities.

4.2.0 (2023-08-17)
------------------

v4.1.1 (2023-08-17)
-------------------

v4.1.0 (2023-08-17)
-------------------

v4.0.0 (2023-08-17)
------------------

[[v3.0.0]]
v3.0.0 (unreleased)
v3.0.0 (2023-08-17)
-------------------

Major changes
Expand Down
18 changes: 15 additions & 3 deletions doc/contributing.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -758,18 +758,30 @@ qutebrowser release

* Make sure there are no unstaged changes and the tests are green.
* Make sure all issues with the related milestone are closed.
* Mark the https://github.com/qutebrowser/qutebrowser/milestones[milestone] as closed.
* Consider updating the completions for `content.headers.user_agent` in `configdata.yml`.
* Minor release: Consider updating some files from main:
- `misc/requirements/` and `requirements.txt`
- `scripts/`
* Make sure Python is up-to-date on build machines.
* Mark the milestone at https://github.com/qutebrowser/qutebrowser/milestones as closed.
* Update changelog in main branch
* Update changelog in main branch and ensure the correct version number has `(unreleased)`
* If necessary: Update changelog in release branch from main.

**Automatic release via GitHub Actions (starting with v3.0.0):**

* Double check Python version in `.github/workflows/release.yml`
* Run the `release` workflow on the `main` branch, e.g. via `gh workflow run release -f release_type=major` (`release_type` can be `major`, `minor` or `patch`; you can also override `python_version`)

**Manual release:**

* Make sure Python is up-to-date on build machines.
* Run `./.venv/bin/python3 scripts/dev/update_version.py {major,minor,patch}`.
* Run the printed instructions accordingly.

**Post release:**

* Update `qutebrowser-git` PKGBUILD if dependencies/install changed.
* Add unreleased future versions to changelog
* Update IRC topic
* Announce to qutebrowser and qutebrowser-announce mailinglist.
* Post announcement mail to subreddit
* Post on the website formerly known as Twitter
5 changes: 5 additions & 0 deletions misc/org.qutebrowser.qutebrowser.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
</content_rating>
<releases>
<!-- Add new releases here -->
<release version="4.2.0" date="2023-08-17"/>
<release version="4.1.1" date="2023-08-17"/>
<release version="4.1.0" date="2023-08-17"/>
<release version="4.0.0" date="2023-08-17"/>
<release version="3.0.0" date="2023-08-17"/>
<release version="2.5.4" date="2023-03-13"/>
<release version="2.5.3" date="2023-02-17"/>
<release version="2.5.2" date="2022-06-22"/>
Expand Down
2 changes: 1 addition & 1 deletion qutebrowser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
__license__ = "GPL"
__maintainer__ = __author__
__email__ = "mail@qutebrowser.org"
__version__ = "2.5.4"
__version__ = "4.2.0"
__version_info__ = tuple(int(part) for part in __version__.split('.'))
__description__ = "A keyboard-driven, vim-like browser based on Python and Qt."

Expand Down
2 changes: 1 addition & 1 deletion scripts/dev/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def show_commit():
"tox -e build-release -- --upload"
.format(v=version))
print("* Windows: git fetch; git checkout v{v}; "
"py -3.9 -m tox -e build-release -- --upload"
"py -3.X -m tox -e build-release -- --upload"
.format(v=version))
print("* macOS: git fetch && git checkout v{v} && "
"tox -e build-release -- --upload"
Expand Down
Loading