This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:tarball_release [2016/01/13 20:41] – [Publish the tarball] neyron | wiki:tarball_release [2016/02/12 15:57] – [Publish the tarball] neyron | ||
---|---|---|---|
Line 71: | Line 71: | ||
===== Publish the tarball ===== | ===== Publish the tarball ===== | ||
- | The before-generated tarball must now be pushed to the archive server (only possible if your SSH key is authorized for connecting to the archive server), in one of the branches: | + | The before-generated tarball must now be pushed to the archive server (only possible if your SSH key is authorized for connecting to the archive server), in one of the branches: testing or stable. |
<code bash> | <code bash> | ||
workstation $ VERSION=2.5.3 | workstation $ VERSION=2.5.3 | ||
- | workstation $ RELEASEBRANCH=testing | ||
workstation $ FTP=ftpmaster@oar-ftp.lig | workstation $ FTP=ftpmaster@oar-ftp.lig | ||
workstation $ scp ../ | workstation $ scp ../ | ||
- | $FTP: | + | $FTP: |
</ | </ | ||
- | Generate the checksums | + | Generate the checksums: |
<code bash> | <code bash> | ||
workstation $ ssh $FTP \ | workstation $ ssh $FTP \ | ||
- | "cd oar-ftp.imag.fr/ | + | "cd oar-ftp.imag.fr/ |
md5sum oar-$VERSION.tar.gz > oar-$VERSION.tar.gz.md5sum && | md5sum oar-$VERSION.tar.gz > oar-$VERSION.tar.gz.md5sum && | ||
sha1sum oar-$VERSION.tar.gz > oar-$VERSION.tar.gz.sha1sum" | sha1sum oar-$VERSION.tar.gz > oar-$VERSION.tar.gz.sha1sum" | ||
</ | </ | ||
+ | |||
+ | If we are releasing a stable version, symlink the files from the testing directory to the stable directory: | ||
+ | |||
+ | <code bash> | ||
+ | workstation $ ssh $FTP \ | ||
+ | "cd oar-ftp.imag.fr/ | ||
+ | for f in oar-$VERSION.tar.gz oar-$VERSION.tar.gz.md5sum oar-$VERSION.tar.gz.sha1sum; | ||
+ | do ln -s ../ | ||
+ | </ | ||
+ | |||
That's it ! | That's it ! |