move release script to Makefile

This commit is contained in:
iofq authored and André Roth committed 2024-09-24 10:14:39 +02:00
1 parent 5e86a0b9e6
commit 056df39a3c
4 files changed
+43 -16

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
# cleanup
rm -rf /app/build/tmp
usermod -u `stat -c %u /app` aptly >/dev/null
chown -R `stat -c %u /app` /var/lib/aptly
su - aptly -c "cd /app; export GOPATH=/app/.go; make release"