-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4cb5a17
commit e29a908
Showing
2 changed files
with
46 additions
and
0 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,42 @@ | ||
name: "Manual release" | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pyright_version: | ||
description: "Pyright version" | ||
required: true | ||
type: string | ||
pull_request: | ||
|
||
jobs: | ||
manual_release: | ||
strategy: | ||
fail-fast: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- name: Install poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
version: 1.8.3 | ||
- name: Install dev dependencies | ||
run: poetry install | ||
|
||
- name: Bump pyright-alright version according to underlying pyright version | ||
run: poetry version ${{ inputs.pyright_version }} | ||
|
||
- name: Build the wheel | ||
run: poetry run python src/build_pyright.py ${{ inputs.pyright_version }} | ||
|
||
- name: See whats have been build | ||
run: ls -al dist | ||
|
||
# - name: Publish on PyPI | ||
# run: poetry run twine upload dist/* | ||
# env: | ||
# TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} | ||
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} |
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
[tool.poetry] | ||
name = "pyright-alright" | ||
# The version is bump automatically when releasing pyright-alright | ||
# based on the corresponding pyright version. | ||
# Pyright-alright version can have a potential suffix (like alpha1, post0, etc...) | ||
# used to either test a release or fix an existing release. | ||
version = "0.1.0" | ||
description = "Pyright type checker, packaged for Python 🍞 + 🐍 + 🪨 = 🚀" | ||
authors = ["ducdetronquito <[email protected]>"] | ||
|