Skip to content
Open
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
21 changes: 8 additions & 13 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Make Debian Package
name: Create Debian Package

on:
push:
Expand All @@ -9,7 +9,7 @@ permissions:
contents: write

jobs:
build-dsc:
build-deb:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -39,32 +39,27 @@ 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
for file in ../kci-dev_*; do
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/*
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kci-dev (0.1.9-1) unstable; urgency=medium
* New upstream release.
* Update to version 0.1.9.

-- Arisu Tachibana <arisu.tachibana@miraclelinux.com> Sat, 07 Dec 2025 12:00:00 +0900
-- Arisu Tachibana <arisu.tachibana@miraclelinux.com> Sun, 07 Dec 2025 12:00:00 +0900

kci-dev (0.1.8-1) unstable; urgency=medium

Expand Down
23 changes: 23 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: kci-dev
Upstream-Contact: Arisu Tachibana <arisu.tachibana@miraclelinux.com>
Source: https://pypi.org/project/kci-dev/

Files: *
Copyright: 2023-2025 Arisu Tachibana <arisu.tachibana@miraclelinux.com>
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 <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-2.1".