Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ducdetronquito committed Oct 11, 2024
1 parent 4cb5a17 commit e29a908
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/manual_release.yml
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 }}
4 changes: 4 additions & 0 deletions pyproject.toml
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]>"]
Expand Down

0 comments on commit e29a908

Please sign in to comment.