mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-12 00:47:29 +00:00
Merge pull request #1490 from keymanapp/linux-1486-versionproblem
[linux] fix majorversion which broke download window
This commit is contained in:
commit
4e06ae5d79
1 changed files with 1 additions and 9 deletions
|
|
@ -8,13 +8,6 @@
|
|||
|
||||
set -e
|
||||
|
||||
# maybe don't need dev any more
|
||||
# from git can determine whether to use current tagnum or next
|
||||
# and whether to use current.datetime
|
||||
# see ../test.sh for script to bring in
|
||||
# maybe make it a function to get the minor number?
|
||||
|
||||
|
||||
BASEDIR=`pwd`
|
||||
echo "basedir is $BASEDIR"
|
||||
autotool_projects="kmflcomp libkmfl ibus-kmfl ibus-keyman"
|
||||
|
|
@ -66,11 +59,10 @@ for proj in ${extra_projects}; do
|
|||
meson ../common/engine/keyboardprocessor keyboardprocessor
|
||||
fi
|
||||
if [ "${proj}" == "keyman-config" ]; then
|
||||
majorvers=`cat ../resources/VERSION.md`
|
||||
cd keyman-config
|
||||
make clean
|
||||
cd keyman_config
|
||||
sed -e "s/_VERSION_/${newvers}/g" -e "s/_MAJORVERSION_/${majorvers}/g" version.py.in > version.py
|
||||
sed -e "s/_VERSION_/${newvers}/g" -e "s/_MAJORVERSION_/${oldvers}/g" version.py.in > version.py
|
||||
fi
|
||||
cd $BASEDIR
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue