diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 231af33..b92f615 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -1,4 +1,4 @@ -name: Make Debian Package +name: Create Debian Package on: push: @@ -9,7 +9,7 @@ permissions: contents: write jobs: - build-dsc: + build-deb: runs-on: ubuntu-latest steps: - name: Checkout repository @@ -39,9 +39,9 @@ jobs: HEAD - name: Build Debian package - run: debuild -S -us -uc --lintian-opts --profile debian + run: debuild -b -us -uc --lintian-opts --profile debian - - name: Collect Debian artifacts for development + - name: Collect Debian artifacts run: | mkdir -p artifacts shopt -s nullglob @@ -49,22 +49,17 @@ jobs: mv "$file" artifacts/ done - - name: Upload Debian artifacts for development + - name: Upload Debian artifact to the workflow uses: actions/upload-artifact@v4 with: - name: kci-dev-debian-source + name: kci-dev-debian-package path: artifacts/ - - name: Upload Debian source to GitHub Release on new tag + - name: Upload Debian package to GitHub Release on new tag if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref_name }} - files: | - artifacts/kci-dev_*.dsc - artifacts/kci-dev_*.orig.tar.* - artifacts/kci-dev_*debian.tar.* - artifacts/kci-dev_*_source.buildinfo - artifacts/kci-dev_*_source.changes + files: artifacts/* diff --git a/debian/changelog b/debian/changelog index 5b6d67b..f320147 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,7 +3,7 @@ kci-dev (0.1.9-1) unstable; urgency=medium * New upstream release. * Update to version 0.1.9. - -- Arisu Tachibana Sat, 07 Dec 2025 12:00:00 +0900 + -- Arisu Tachibana Sun, 07 Dec 2025 12:00:00 +0900 kci-dev (0.1.8-1) unstable; urgency=medium diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fb57cda --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: kci-dev +Upstream-Contact: Arisu Tachibana +Source: https://pypi.org/project/kci-dev/ + +Files: * +Copyright: 2023-2025 Arisu Tachibana +License: LGPL-2.1+ + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-2.1".