Closed shaneallgeier closed 2 years ago
Cheers. This feature has actually been useless for quite some time. XO repository hasn't had new tagged releases after 2019. Should probably be removed instead.
I was wondering about that. Do they just not tag their new versions anymore?
https://github.com/ronivay/XenOrchestraInstallerUpdater/issues/117#issuecomment-1100875398
This sums it up quite well (from recent feature request).
so yeah, as this feature is quite obsolete now, i've instead removed it in https://github.com/ronivay/XenOrchestraInstallerUpdater/commit/2f276eb80fe17d94921b7cdc12cacecc3ee7f3d7 and will be closing this without merge. thanks for the effort though :)
The ability to find the latest tagged release is broken due to the runcmd function not preserving the current directory.
I could've used
local TAG=$(runcmd_stdout "cd $INSTALLDIR/xo-builds/xen-orchestra-$TIME && git describe --tags '$(cd $INSTALLDIR/xo-builds/xen-orchestra-$TIME && git rev-list --tags --max-count=1)'")
instead but it seemed a little too long.