feat: debian package
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
ifneq (,$(wildcard ./.env))
|
||||
include .env
|
||||
export
|
||||
endif
|
||||
|
||||
PACKAGE_NAME := autobackup
|
||||
|
||||
build:
|
||||
dpkg -b $(PACKAGE_NAME)
|
||||
|
||||
release: build
|
||||
curl -u zankia:$(GITEA_TOKEN) --upload-file $(PACKAGE_NAME).deb https://git.zankia.fr/api/packages/zankia/debian/pool/gitea/main/upload
|
||||
|
||||
clean:
|
||||
rm $(PACKAGE_NAME).deb
|
||||
Reference in New Issue
Block a user