amide 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,47 @@
1
+ name: release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ tui:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ steps:
14
+ - uses: actions/checkout@v7.0.1
15
+ with:
16
+ fetch-depth: 0
17
+ - uses: actions/setup-go@v7.0.0
18
+ with:
19
+ go-version-file: tui/go.mod
20
+ cache-dependency-path: tui/go.sum
21
+ - uses: goreleaser/goreleaser-action@v7.2.3
22
+ with:
23
+ distribution: goreleaser
24
+ version: "~> v2"
25
+ workdir: tui
26
+ args: release --clean
27
+ env:
28
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
+
30
+ pypi:
31
+ needs: [tui]
32
+ runs-on: ubuntu-latest
33
+ environment: pypi
34
+ permissions:
35
+ id-token: write # required for PyPI trusted publishing
36
+ steps:
37
+ - uses: actions/checkout@v7.0.1
38
+ - uses: astral-sh/setup-uv@v10.0.1
39
+ - name: Check version matches tag
40
+ run: |
41
+ version="v$(uv version --short)"
42
+ if [ "$version" != "$GITHUB_REF_NAME" ]; then
43
+ echo "::error::project version $version does not match tag $GITHUB_REF_NAME; bump pyproject.toml and src/amide/__init__.py"
44
+ exit 1
45
+ fi
46
+ - run: uv build
47
+ - run: uv publish --trusted-publishing always
amide-0.1.0/.gitignore ADDED
@@ -0,0 +1,16 @@
1
+ __pycache__/
2
+ *.md
3
+ !README.md
4
+ *.py[cod]
5
+ *.egg-info/
6
+ .eggs/
7
+ build/
8
+ dist/
9
+ .venv/
10
+ venv/
11
+ .pytest_cache/
12
+ .ruff_cache/
13
+ .coverage
14
+ htmlcov/
15
+ .env
16
+ .env.*