gplugin/builders

file isExecutable
Add fedora 33 and ubuntu groofy, remove fedora 30 and fix a bug in fedora 32
#!/bin/sh -ex
# Copyright (C) 2015-2018 Gary Kramlich <grim@reaperworld.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
cd "${CONVEY_WORKSPACE}"
export ARTIFACTS_DIR=${CONVEY_WORKSPACE}/${DISTRO}-${VERSION}-${ARCH}
mkdir -p "${ARTIFACTS_DIR}"
cp -a "${CONVEY_WORKSPACE}"/packaging/debian debian
HG_ID=$(hg id -i)
BUILD_NUMBER="${BUILD_NUMBER:-0}"
BUILD_VERSION="${BUILD_NUMBER}~${HG_ID}"
VERSION=$(dpkg-parsechangelog --show-field Version)
dch -D "UNRELEASED" -v "${VERSION}.${BUILD_VERSION}" "build for ${HG_ID}"
debuild --preserve-envvar=ARTIFACTS_DIR -us -uc --buildinfo-option=-u"${ARTIFACTS_DIR}" --changes-option=-u"${ARTIFACTS_DIR}"