fix main and release

This commit is contained in:
Ward from fusion-voyager-3 2024-07-23 01:37:26 +03:00
parent a1f741d14c
commit 691e489439
3 changed files with 8 additions and 10 deletions

View File

@ -1,3 +1,7 @@
#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
@ -14,8 +18,8 @@ cd ./pika-baseos
apt-get build-dep ./ -y
# Build package
dh_make --createorig
dpkg-buildpackage
LOGNAME=root dh_make --createorig -y -l -p pika-baseos_3.0.0 || echo "dh-make didn't go clean"
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../

View File

@ -1 +1 @@
3.0 (native)
3.0 (quilt)

View File

@ -1,8 +1,2 @@
# send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
# add debs to repo
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pikauwu-main /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:'
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/