Commit 84f33496 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

release-windows-packages: add command line options --tarversion to specify...

release-windows-packages: add command line options --tarversion to specify different tar ball version
parent 461a6744
......@@ -100,6 +100,12 @@ case $var in
shift
echo $version > work/VERSION
;;
--tarversion) ## set tarball version used by update-package
shift
tarversion=$1
shift
echo $tarversion > work/TARVERSION
;;
esac
done
......@@ -113,7 +119,11 @@ function update_package() {
local pkgname=PACKAGENAME$arch
local pkg=${!rootname}/${!pkgname}
getversion
local fn="umbrello-$VERSION.tar.xz"
tarversion
if [ -z $TARVERSION ]; then
TARVERSION=$VERSION
fi
local fn="umbrello-$TARVERSION.tar.xz"
p=$PWD
cd work
if test -d $pkg; then
......@@ -169,6 +179,10 @@ function getversion() {
VERSION=$(cat work/VERSION)
}
function tarversion() {
TARVERSION=$(cat work/TARVERSION)
}
function downloadsrc() {
cd work
# fetch source package
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment