Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 8fd928a

Browse files
committed
Prepare for release
1 parent 0871f2a commit 8fd928a

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,28 @@ jobs:
1414
packaging:
1515
name: Distribution
1616
runs-on: ubuntu-latest
17+
18+
permissions:
19+
id-token: write
20+
21+
environment:
22+
name: pypi
23+
url: https://pypi.org/p/betterproto2_compiler
24+
1725
steps:
18-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
27+
1928
- name: Set up Python 3.10
2029
uses: actions/setup-python@v4
2130
with:
2231
python-version: "3.10"
32+
2333
- name: Install poetry
2434
run: python -m pip install poetry
35+
2536
- name: Build package
2637
run: poetry build
27-
- name: Publish package to PyPI
28-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
29-
env:
30-
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.pypi }}
31-
run: poetry publish -n
38+
39+
- name: Publish package distributions to PyPI
40+
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
41+
uses: pypa/gh-action-pypi-publish@release/v1.12

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "betterproto2_compiler"
3-
version = "2.0.0b7"
3+
version = "0.0.1"
44
description = "Compiler for betterproto2"
55
authors = ["Adrien Vannson <[email protected]>", "Daniel G. Taylor <[email protected]>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)