same for from_stable_to_another_version

This commit is contained in:
Kay0u 2021-02-03 17:15:58 +01:00
parent 20d123d5be
commit 13575e8f80
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -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
}