-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mitmproxy:main' into multicast-windivert-exclude
- Loading branch information
Showing
73 changed files
with
3,176 additions
and
1,489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env -S python3 -u | ||
import logging | ||
|
||
from releasetool import branch | ||
from releasetool import get_next_dev_version | ||
from releasetool import git_commit | ||
from releasetool import git_push | ||
from releasetool import git_tag | ||
from releasetool import status_check | ||
from releasetool import update_changelog | ||
from releasetool import update_rust_version | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
if __name__ == "__main__": | ||
status_check() | ||
update_changelog() | ||
update_rust_version() | ||
git_commit() | ||
git_tag() | ||
|
||
if branch == "main": | ||
update_rust_version(version=get_next_dev_version()) | ||
git_commit(message="reopen main for development") | ||
|
||
git_push() | ||
logger.info("✅ All done. 🥳") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Version (major.minor.patch)' | ||
required: true | ||
type: string | ||
skip-branch-status-check: | ||
description: 'Skip CI status check.' | ||
default: false | ||
required: false | ||
type: boolean | ||
|
||
permissions: {} | ||
|
||
jobs: | ||
release: | ||
environment: deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GH_PUSH_TOKEN }} # this token works to push to the protected main branch. | ||
- uses: mhils/releasetool@v1 | ||
- run: ./.github/scripts/release | ||
env: | ||
PROJECT_VERSION: ${{ inputs.version }} | ||
STATUS_CHECK_SKIP_GIT: ${{ inputs.skip-branch-status-check }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
__pycache__/ | ||
*.xcuserstate | ||
editable.marker | ||
*.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.