release
This commit is contained in:
parent
0a7a3f70eb
commit
ac5e859977
6 changed files with 2 additions and 25 deletions
|
@ -62,13 +62,13 @@ jobs:
|
|||
# The -s dir option tells FPM the source is a directory.
|
||||
# The -t deb option builds a deb package.
|
||||
# -n is the package name and -v the version.
|
||||
fpm -s dir -t deb -n magicfw -v $VERSION -C package .
|
||||
fpm -s dir -t deb -n magicfw-docker -v $VERSION -C package .
|
||||
|
||||
- name: Upload to Forgejo Debian Registry
|
||||
env:
|
||||
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
||||
run: |
|
||||
PACKAGE_NAME="magicfw_${VERSION}_amd64.deb" # Update version accordingly
|
||||
PACKAGE_NAME="magicfw-docker_${VERSION}_amd64.deb" # Update version accordingly
|
||||
|
||||
curl --user "your_username:$FORGEJO_TOKEN" \
|
||||
--upload-file ./${PACKAGE_NAME} \
|
||||
|
|
5
debian/changelog.in
vendored
5
debian/changelog.in
vendored
|
@ -1,5 +0,0 @@
|
|||
magicfw ({{VERSION}}) unstable; urgency=medium
|
||||
|
||||
* Automatic release from Git tag {{TAG}}
|
||||
|
||||
-- Auto Release Bot <ci@forgejo> $(date -R)
|
12
debian/control
vendored
12
debian/control
vendored
|
@ -1,12 +0,0 @@
|
|||
Source: magicfw
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Marco Realacci <marco@marcorealacci.me>
|
||||
Build-Depends: debhelper-compat (= 13), dh-python, python3-all
|
||||
Standards-Version: 4.6.0
|
||||
|
||||
Package: magicfw
|
||||
Architecture: all
|
||||
Depends: ${python3:Depends}, ${misc:Depends}
|
||||
Description: A magic firewall service
|
||||
Automatic build from Git tag ${TAG}.
|
2
debian/install
vendored
2
debian/install
vendored
|
@ -1,2 +0,0 @@
|
|||
src/main.py usr/bin/
|
||||
systemd/magicfw.service lib/systemd/system/
|
3
debian/rules
vendored
3
debian/rules
vendored
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh $@ --with python3,systemd --buildsystem=pybuild
|
1
debian/source/format
vendored
1
debian/source/format
vendored
|
@ -1 +0,0 @@
|
|||
3.0 (quilt)
|
Loading…
Add table
Add a link
Reference in a new issue