Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Release"

on:
push:
tags:
# Publish on any tag starting with a `v`, e.g., v0.1.0
- v*

jobs:
run:
runs-on: ubuntu-latest
environment:
name: pypi-publish
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Build
run: uv build
- name: Publish
run: uv publish
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "debmagic"
version = "0.1.0"
version = "0.0.1-alpha.1"
description = "build debian packages"
license = { file = "LICENSE" }
readme = "README.md"
Expand Down Expand Up @@ -31,7 +31,15 @@ exclude_gitignore = true
[tool.ruff]
line-length = 120
target-version = "py312"
extend-exclude = [".idea", ".mypy_cache", ".venv*", "docs", "debian", "__pycache__", "*.egg_info"]
extend-exclude = [
".idea",
".mypy_cache",
".venv*",
"docs",
"debian",
"__pycache__",
"*.egg_info",
]

[tool.ruff.lint]
select = ["E", "W", "F", "I", "C", "N", "PL", "RUF", "I001"]
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.