Browse Source

Update update-deb-distrib

master
falkTX 6 years ago
parent
commit
3c07c37f62
1 changed files with 6 additions and 11 deletions
  1. +6
    -11
      scripts/update-deb-distrib

+ 6
- 11
scripts/update-deb-distrib View File

@@ -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

Loading…
Cancel
Save