From 13575e8f801d06644240b4b2c0f3e302515e0d87 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 3 Feb 2021 17:15:58 +0100 Subject: [PATCH] same for from_stable_to_another_version --- image_builder | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/image_builder b/image_builder index 44946f4..15a0190 100755 --- a/image_builder +++ b/image_builder @@ -148,8 +148,7 @@ function from_stable_to_another_version() $IN_LXC /bin/bash -c "apt-get dist-upgrade -y" lxc stop $NEW_LXC_BASE - lxc image delete $NEW_LXC_BASE - lxc publish $NEW_LXC_BASE --alias $NEW_LXC_BASE --public + rotate_image $NEW_LXC_BASE $NEW_LXC_BASE "os=YunoHost" "ynh-release=$YNH_BRANCH" "stage=ynh-dev" "release=${DIST^}" "architecture=$ARCH" "description=YunoHost $DIST $YNH_BRANCH ynh-dev $ARCH ($(date '+%Y%m%d'))" lxc delete $NEW_LXC_BASE OLD_LXC_BASE="ynh-appci-$DIST-$ARCH-stable-base" @@ -164,8 +163,7 @@ function from_stable_to_another_version() $IN_LXC /bin/bash -c "apt-get dist-upgrade -y" lxc stop $NEW_LXC_BASE - lxc image delete $NEW_LXC_BASE - lxc publish $NEW_LXC_BASE --alias $NEW_LXC_BASE --public + rotate_image $NEW_LXC_BASE $NEW_LXC_BASE "os=YunoHost" "ynh-release=$YNH_BRANCH" "stage=ynh-appci" "release=${DIST^}" "architecture=$ARCH" "description=YunoHost $DIST $YNH_BRANCH ynh-appci $ARCH ($(date '+%Y%m%d'))" lxc delete $NEW_LXC_BASE set +x }