Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update update-deb-distrib
  • Loading branch information
falkTX committed Oct 15, 2018
1 parent 444ccd0 commit 3c07c37
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions scripts/update-deb-distrib
Expand Up @@ -10,17 +10,12 @@ VERSION=`cat debian/changelog | head -n 1 | awk '{printf$2}' | awk 'sub("\\\(","
dch --force-distribution -D xenial -v $VERSION "Xenial build"
debuild --no-lintian -S -sa

# Yakkety
VERSION=`cat debian/changelog | head -n 1 | awk '{printf$2}' | awk 'sub("\\\(","")' | awk 'sub("xenial","yakkety")' | awk 'sub("\\\)","\n")' | head -n 1`
dch --force-distribution -D yakkety -v $VERSION "Yakkety build"
# Bionic
VERSION=`cat debian/changelog | head -n 1 | awk '{printf$2}' | awk 'sub("\\\(","")' | awk 'sub("xenial","zz~bionic")' | awk 'sub("\\\)","\n")' | head -n 1`
dch --force-distribution -D bionic -v $VERSION "Bionic build"
debuild --no-lintian -S -sa

# Zesty
VERSION=`cat debian/changelog | head -n 1 | awk '{printf$2}' | awk 'sub("\\\(","")' | awk 'sub("yakkety","zesty")' | awk 'sub("\\\)","\n")' | head -n 1`
dch --force-distribution -D zesty -v $VERSION "Zesty build"
debuild --no-lintian -S -sa

# Artful
VERSION=`cat debian/changelog | head -n 1 | awk '{printf$2}' | awk 'sub("\\\(","")' | awk 'sub("zesty","zzartful")' | awk 'sub("\\\)","\n")' | head -n 1`
dch --force-distribution -D artful -v $VERSION "Artful build"
# Cosmic
VERSION=`cat debian/changelog | head -n 1 | awk '{printf$2}' | awk 'sub("\\\(","")' | awk 'sub("zz~bionic","zz~cosmic")' | awk 'sub("\\\)","\n")' | head -n 1`
dch --force-distribution -D cosmic -v $VERSION "Cosmic build"
debuild --no-lintian -S -sa

0 comments on commit 3c07c37

Please sign in to comment.