Skip to content

Commit aa9d2c1

Browse files
authored
ci: prepare for release-please workflow (#50)
1 parent 580dabc commit aa9d2c1

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

.github/workflows/publish.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
with:
11-
fetch-depth: 0
1210
- uses: actions/setup-python@v5
1311
with:
1412
python-version: "3.12"
1513
- uses: abatilo/actions-poetry@v3
16-
- run: poetry self add "poetry-dynamic-versioning[plugin]"
1714
- run: poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
1815
- run: poetry publish --build
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
name: release-please
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v4
17+
with:
18+
release-type: python

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
3-
build-backend = "poetry_dynamic_versioning.backend"
2+
requires = ["poetry-core>=1.0.0"]
3+
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "catppuccin"
7-
version = "0.0.0"
7+
version = "2.2.0"
88
description = "🐍 Soothing pastel theme for Python."
99
authors = ["backwardspy <[email protected]>"]
1010
readme = "README.md"
@@ -36,9 +36,6 @@ ruff = "^0.4.0"
3636
types-pygments = "^2.17.0.20240106"
3737
types-colorama = "^0.4.15.20240205"
3838

39-
[tool.poetry-dynamic-versioning]
40-
enable = true
41-
4239
[tool.ruff.lint]
4340
select = ["ALL"]
4441
ignore = [

0 commit comments

Comments
 (0)