mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
chore(linux): Improve version number for debian package
This change switches the package version number for packages that are intended for the Debian package repo to match the Debian policies. It also removes the comment from the watch file.
This commit is contained in:
parent
c826857f09
commit
f3b8ccf07f
3 changed files with 4 additions and 3 deletions
|
|
@ -29,6 +29,7 @@ for proj in ${projects}; do
|
|||
downloadSource debianpackage
|
||||
|
||||
cd ${proj}-${version}
|
||||
dch -v ${version}-1 "Re-release to Debian"
|
||||
debuild -d -S -sa -Zxz
|
||||
cd ${BASEDIR}
|
||||
done
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ function downloadSource() {
|
|||
make clean
|
||||
fi
|
||||
|
||||
# Update tier in Debian watch files (replacing any previously set tier)
|
||||
sed "s/\$tier\|alpha\|beta\|stable/${TIER}/g" $BASEDIR/scripts/watch.in > debian/watch
|
||||
# Update tier in Debian watch files (replacing any previously set tier) and remove comment
|
||||
sed -e "s/\$tier\|alpha\|beta\|stable/${TIER}/g" -e "s/^# .*$//" $BASEDIR/scripts/watch.in > debian/watch
|
||||
|
||||
version=$(uscan --report --dehs|xmllint --xpath "//dehs/upstream-version/text()" -)
|
||||
dirversion=$(uscan --report --dehs|xmllint --xpath "//dehs/upstream-url/text()" - | cut -d/ -f6)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
version=4
|
||||
# Tier set by launchpad.sh script
|
||||
# Tier replaced by package-build.inc.sh script
|
||||
https://downloads.keyman.com/linux/$tier/@ANY_VERSION@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue