2018-06-02 12:18:04 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-09-05 09:48:04 +03:00
|
|
|
VERSION="8.2"
|
2018-06-02 12:18:04 +03:00
|
|
|
|
2019-03-24 14:21:22 +03:00
|
|
|
./configure -C --enable-tiny && make && ./configure -C &&
|
2018-09-20 21:06:47 +03:00
|
|
|
|
2018-06-02 12:18:04 +03: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 &&
|
|
|
|
|
2021-06-15 11:11:19 +03:00
|
|
|
git add po/*.po po/nano.pot po/LINGUAS &&
|
2019-04-16 11:21:24 +03:00
|
|
|
git commit -m "$(git log -1 --grep 'po: up' | grep o: | sed 's/^ //')" &&
|
2018-06-02 12:18:04 +03: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 &&
|
|
|
|
|
2022-11-14 13:44:28 +03:00
|
|
|
git tag -u B8E1961F -a v$VERSION -m "the nano $VERSION release" &&
|
2018-06-02 12:18:04 +03:00
|
|
|
|
2019-12-05 14:18:42 +03:00
|
|
|
make pdf && rm -rf doc/nano.t2p &&
|
|
|
|
scp doc/nano.pdf bens@wh0rd.org:nano.pdf &&
|
|
|
|
scp doc/cheatsheet.html bens@wh0rd.org:cheatsheet.html &&
|
|
|
|
|
2018-06-02 12:18:04 +03:00
|
|
|
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."
|