annotate DOCS/tech/release.sh @ 36879:8c1bbe0536ea

kva: make sure that image parameters are setup whenever config() is called
author komh
date Wed, 05 Mar 2014 03:17:56 +0000
parents c8d891e708dc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34802
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
1 #!/bin/bash
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
2 # will create checkouts and tarballs in the current dir
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
3 ver=1.1
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
4 dst=MPlayer-$ver
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
5 svnurl=svn://svn.mplayerhq.hu/mplayer/trunk
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
6 #svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
7
34898
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
8 rm -rf $dst/ $dst-DOCS/ $dst.tar*
34802
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
9
34894
d67796f04f99 Small improvements to release script, create xz and gzip files etc.
reimar
parents: 34803
diff changeset
10 svn export $svnurl $dst/
34898
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
11 # branches should contain a VERSION file, but
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
12 # "previews" generated from trunk need it.
34894
d67796f04f99 Small improvements to release script, create xz and gzip files etc.
reimar
parents: 34803
diff changeset
13 if ! test -e $dst/VERSION ; then
d67796f04f99 Small improvements to release script, create xz and gzip files etc.
reimar
parents: 34803
diff changeset
14 echo $ver > $dst/VERSION
d67796f04f99 Small improvements to release script, create xz and gzip files etc.
reimar
parents: 34803
diff changeset
15 fi
34802
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
16
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
17 # create HTML docs
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
18 cp -a $dst/ $dst-DOCS/
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
19 pushd $dst-DOCS/
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
20 mkdir -p ffmpeg/libavutil
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
21 ./configure --yasm='' --language=all
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
22 make html-chunked
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
23 popd
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
24 mv $dst-DOCS/DOCS/HTML $dst/DOCS
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
25 rm -rf $dst-DOCS/
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
26
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
27 # git archive unfortunately is refused
35251
c8d891e708dc release.sh: Use official FFmpeg source repository URL
al
parents: 34898
diff changeset
28 git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git $dst/ffmpeg
34803
2f751a18aaac release script: also remove .gitignore from MPlayer SVN.
reimar
parents: 34802
diff changeset
29 rm -rf $dst/.git* $dst/ffmpeg/.git*
34802
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
30
34898
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
31 # create .tar.gz and .tar.xz files
34894
d67796f04f99 Small improvements to release script, create xz and gzip files etc.
reimar
parents: 34803
diff changeset
32 tar --owner=0 --group=0 -cf $dst.tar $dst/
d67796f04f99 Small improvements to release script, create xz and gzip files etc.
reimar
parents: 34803
diff changeset
33 xz -k $dst.tar
d67796f04f99 Small improvements to release script, create xz and gzip files etc.
reimar
parents: 34803
diff changeset
34 gzip -9 $dst.tar
34898
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
35
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
36 # generate checksums/signatures
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
37 md5sum $dst.tar.xz > $dst.tar.xz.md5
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
38 sha1sum $dst.tar.xz > $dst.tar.xz.sha1
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
39 md5sum $dst.tar.gz > $dst.tar.gz.md5
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
40 sha1sum $dst.tar.gz > $dst.tar.gz.sha1
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
41 gpg -a --detach-sign $dst.tar.xz
e5e6ba537dd9 Another minor release script update.
reimar
parents: 34894
diff changeset
42 gpg -a --detach-sign $dst.tar.gz