chore: update license from MIT to Apache-2.0 across all files
All checks were successful
CI / test (3.13) (push) Successful in 42s

This commit is contained in:
Alexander Kalinovsky
2025-08-26 19:38:15 +03:00
parent bb604b0b74
commit ab1aedd63e
39 changed files with 171 additions and 76 deletions

View File

@@ -1,6 +1,6 @@
# SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
#
# SPDX-License-Identifier: MIT
# SPDX-License-Identifier: Apache-2.0
name: CI

View File

@@ -1,35 +1,37 @@
# SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
#
# SPDX-License-Identifier: MIT
# SPDX-License-Identifier: Apache-2.0
name: Publish to TestPyPI
on:
push:
release:
types: [prereleased]
tags:
- "v*.*.*rc*"
- "v*.*.*a*"
- "v*.*.*b*"
build-publish:
permissions:
id-token: write
contents: read
jobs:
build-publish:
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
python-version: "3.13"
- name: Build wheel & sdist
run: |
uv build
- name: Publish (TestPyPI)
run: |
uv publish --repository-url https://test.pypi.org/legacy/ --skip-existing
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: "3.13"
- name: Build wheel & sdist
run: |
uv build
- name: Publish (TestPyPI)
run: |
uv publish --repository-url https://test.pypi.org/legacy/ --skip-existing

View File

@@ -0,0 +1,35 @@
# SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
#
# SPDX-License-Identifier: Apache-2.0
name: Publish to PyPI
on:
release:
types: [released]
tags:
- "v*.*.*"
jobs:
build-publish:
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: "3.13"
- name: Build wheel & sdist
run: |
uv build
- name: Publish (PyPI)
run: |
uv publish