Commit 1d2d2e8a authored by Markus Frosch's avatar Markus Frosch 📣

Remove old dch script

parent 8c046fa5
Pipeline #4271 passed with stages
in 11 minutes and 25 seconds
#!/bin/bash
set -e
DIST=(jessie stretch trusty xenial)
VERSION="$1"
shift
CHANGELOG="$@"
cd $(dirname "$0")
newversion=()
if [ -n "$VERSION" ]; then
newversion=("--newversion" "$VERSION")
fi
echo "Using your git name + email for Debian scripts..."
set -x
export DEBFULLNAME=$(git config user.name)
export DEBEMAIL=$(git config user.email)
for dist in "${DIST[@]}"; do
dch --force-distribution --changelog "$dist"/debian/changelog "${newversion[@]}" --distribution "icinga-$dist" -- "${CHANGELOG[@]}"
done
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