diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml new file mode 100644 index 0000000..bf94cc6 --- /dev/null +++ b/.gitea/workflows/release.yaml @@ -0,0 +1,23 @@ +name: release + +on: + push: + tags: + - "v*" + +jobs: + macos-gui: + runs-on: macos + steps: + - uses: actions/checkout@v4 + with: + # setuptools_scm needs full history/tags to compute the version + fetch-depth: 0 + + - name: Build GUI app zip and dist packages + run: uv run scripts/guibuild.py + + - name: Create Gitea release and upload assets + env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + run: uv run scripts/release.py diff --git a/.gitignore b/.gitignore index 74241ef..0dfef6f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ package-lock.json # Dotfiles .* !.gitignore +!.gitea/