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 DEBIAN_FRONTEND="noninteractive"
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" 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" 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 apt-get build-dep ./ -y
# Build package # Build package
dh_make --createorig LOGNAME=root dh_make --createorig -y -l -p pika-baseos_3.0.0 || echo "dh-make didn't go clean"
dpkg-buildpackage dpkg-buildpackage --no-sign
# Move the debs to output # Move the debs to output
cd ../ cd ../

View File

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

View File

@ -1,8 +1,2 @@
# send debs to server # send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/ rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-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:'