The Birdfont Source Code


All Repositories / birdfont.git / blob – RSS feed

release.sh in scripts

This file is a part of the Birdfont project.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git

Revisions

View the latest version of scripts/release.sh.
Install high contrast theme and news for 2.3
1 #!/bin/bash 2 # Copyright (C) 2012, 2013, 2014 Johan Mattsson 3 # 4 # This program is free software: you can redistribute it and/or modify 5 # it under the terms of the GNU General Public License as published by 6 # the Free Software Foundation, either version 3 of the License, or 7 # (at your option) any later version. 8 # 9 # This program is distributed in the hope that it will be useful, 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # GNU General Public License for more details. 13 # 14 # You should have received a copy of the GNU General Public License 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. 16 17 rep="$(pwd)" 18 19 mkdir -p build 20 cd build 21 mkdir -p export 22 cd export 23 24 version=$(cat ../../scripts/version.py | grep "VERSION = '" | grep -v "SO_VERSION" | sed -e "s:VERSION = '::" | sed "s:'.*::g") 25 26 rm -rf birdfont-$version 27 28 git clone --depth 1 --no-hardlinks --local $rep 29 30 # remove localizations that don't have supported character sets in the current font 31 rm ./birdfont/po/zh_CN.po 32 rm ./birdfont/po/ja.po 33 rm ./birdfont/po/he.po 34 35 mv birdfont birdfont-$version 36 37 rm -rf birdfont-$version/.git 38 rm -rf birdfont-$version/.gitignore 39 40 tar -cf birdfont-$version.tar birdfont-$version 41 42 gzip birdfont-$version.tar 43 44 rm -rf ../birdfont-$version.tar.gz 45 46 mv birdfont-$version.tar.gz ../ 47 48 # build it to make sure that everything was checked in 49 cd birdfont-$version && \ 50 ./configure && \ 51 ./scripts/linux_build.py && \ 52 gpg --output ../../birdfont-$version.tar.gz.sig --detach-sig ../../birdfont-$version.tar.gz && \ 53 cd .. && \ 54 rm -rf ../export/birdfont-$version 55