Finishing Ubuntu build scripts.

This commit is contained in:
Martin Dvorak 2018-08-10 20:17:03 +02:00
parent 19e9271161
commit a12fe5859c
5 changed files with 2 additions and 52 deletions

View file

@ -161,15 +161,14 @@ then
exit 1
fi
export ARG_BAZAAR_MSG="Experimental packaging."
export ARG_BAZAAR_MSG="Release 1.27.x"
export ARG_MAJOR_VERSION=1.27.
export ARG_MINOR_VERSION=0 # minor version is incremented for every Ubuntu version
# https://wiki.ubuntu.com/Releases
# old: precise quantal saucy precise utopic vivid wily yakkety artful
# current: trusty xenial bionic
for UBUNTU_VERSION in xenial
#for UBUNTU_VERSION in trusty xenial bionic
for UBUNTU_VERSION in trusty xenial bionic
do
echo "Releasing HSTR for Ubuntu version: ${UBUNTU_VERSION}"
releaseForParticularUbuntuVersion ${UBUNTU_VERSION} ${ARG_MAJOR_VERSION}${ARG_MINOR_VERSION} "${ARG_BAZAAR_MSG}"

View file

@ -1,49 +0,0 @@
#!/bin/bash
#
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Launchpad release checklist:
# - update version in source code (hstr.c)
# - update version in configure.ac
# - update release message in this file
# - update version in this file
# - check target Ubuntu distributions in this file
# - check minor version in this file
# - run this script from ~/p/hstr/launchpad
export HHBZRMSG="Top and bottom prompt."
export VERSION=1.27.
export MINOR=1
change it - script to be run from GIT repo, launchpad dir is hardcoded
if [ -e "../.git" ]
then
echo "This script MUST NOT be run from Git repository - run it e.g. from ~/p/hstr/launchpad instead"
exit 1
fi
update this based on MF
# precise quantal saucy precise utopic vivid wily yakkety zesty / trusty xenial artful bionic
for DISTRO in trusty xenial artful bionic
do
./ubuntu-make-distro.sh ${DISTRO} ${VERSION}${MINOR} "${HHBZRMSG}"
MINOR=`expr $MINOR + 1`
done
# eof