summaryrefslogtreecommitdiff
path: root/aux-gnurl/ReleaseProcess
blob: 91866ba43f13d8a466366c08731c078d70badf4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# May this be automated one day.

git checkout master
git pull upstream master
git checkout -b gnurl-$new curl-$new
git cherry-pick `git log gnurl-$old | head -n 1 | cut -c8-`
git mergetool
git cherry-pick --continue

make clean
make autoclean
guix build -f gnurl-guix.scm

# XXX: Fix the one remaining /gnu/store/… reference in shebang
./buildconf
./configure --enable-ipv6 --with-gnutls --without-libssh2 --without-libmetalink \ 
--without-winidn --without-librtmp --without-nghttp2 --without-nss --without-cyassl \
--without-polarssl --without-ssl --without-winssl --without-darwinssl --disable-sspi \
--disable-ntlm-wb --disable-ldap --disable-rtsp --disable-dict --disable-telnet --disable-tftp \
--disable-pop3 --disable-imap --disable-smtp --disable-gopher \
--disable-file --disable-ftp --disable-smb
make
make test
make distcheck
make clean

git push .....
git diff HEAD^ HEAD > ../gnurl-$new.diff

# XXX: The procedure below should be replaced by a fixed "make dist"!
cp -a . ../gnurl-$new
cd ..
rm -rf gnurl-$new/.git
tar cjf gnurl-$new.tar.bz2 gnurl-$new
# XXX: Do .tar.xz and .zip releases as soon as drupal website is gone!
rm -rf gnurl-$new
gpg --local-user A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --detach-sig gnurl-$new.tar.bz2
# login and upload.