Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:tarball_release [2016/01/13 20:41] – [Publish the tarball] neyronwiki:tarball_release [2016/02/12 15:56] – [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: snapshot, testing or stable+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   # <- or stable or snapshot 
 workstation $ FTP=ftpmaster@oar-ftp.lig workstation $ FTP=ftpmaster@oar-ftp.lig
 workstation $ scp ../tarballs/oar-$VERSION.tar.gz \ workstation $ scp ../tarballs/oar-$VERSION.tar.gz \
-$FTP:oar-ftp.imag.fr/oar/sources/$RELEASEBRANCH/+$FTP:oar-ftp.imag.fr/oar/sources/testing/
 </code> </code>
  
-Generate the checksums+Generate the checksums:
  
 <code bash> <code bash>
 workstation $ ssh $FTP \ workstation $ ssh $FTP \
-"cd oar-ftp.imag.fr/oar/sources/$RELEASEBRANCH/ &&+"cd oar-ftp.imag.fr/oar/sources/testing/ &&
 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"
 </code> </code>
 +
 +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/oar/sources/stable/ &&
 +for f in oar-$VERSION.tar.gz oar-$VERSION.tar.gz.md5sum oar-$VERSION.tar.gz.sha1sum; do ln -s ../testing/$f . ; done"
 +</code>
 +
  
 That's it ! That's it !
wiki/tarball_release.txt · Last modified: 2016/02/15 23:20 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki