2018-06-02 09:18:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-10-03 12:21:09 +00:00
|
|
|
VERSION="4.5"
|
2018-06-02 09:18:04 +00:00
|
|
|
|
2019-03-24 11:21:22 +00:00
|
|
|
./configure -C --enable-tiny && make && ./configure -C &&
|
2018-09-20 18:06:47 +00:00
|
|
|
|
2018-06-02 09:18:04 +00:00
|
|
|
echo "Running autogen..." && ./autogen.sh &&
|
|
|
|
rm -v -f m4/*.m4~ *.asc *.sig *.gz *.xz &&
|
|
|
|
|
|
|
|
echo "Rebuilding..." && make &&
|
|
|
|
po/update_linguas.sh &&
|
|
|
|
|
|
|
|
make distcheck && make dist-xz &&
|
|
|
|
|
2019-04-16 08:21:24 +00:00
|
|
|
git add po/*.po po/nano.pot &&
|
|
|
|
git commit -m "$(git log -1 --grep 'po: up' | grep o: | sed 's/^ //')" &&
|
2018-06-02 09:18:04 +00:00
|
|
|
|
|
|
|
gpg -a -b nano-$VERSION.tar.gz &&
|
|
|
|
gpg -a -b nano-$VERSION.tar.xz &&
|
|
|
|
gpg --verify nano-$VERSION.tar.gz.asc &&
|
|
|
|
gpg --verify nano-$VERSION.tar.xz.asc &&
|
|
|
|
|
|
|
|
git tag -u A0ACE884 -a v$VERSION -m "the nano $VERSION release" &&
|
|
|
|
|
|
|
|
for file in nano-$VERSION.tar.*z*; do scp $file bens@wh0rd.org:$file; done &&
|
|
|
|
|
|
|
|
gnupload --to ftp.gnu.org:nano nano-$VERSION.tar.*z &&
|
|
|
|
|
|
|
|
echo "Tarballs have been rolled and uploaded."
|