Skip to content

Tag and Create packages for new release

Vincent Ma edited this page Apr 24, 2015 · 1 revision

Tag and Create packages for new release on fobuild.fc.hp.com

Tagging the release in git

Check out the top of tree source code and create a new tag for new release.

@[build@fobuild ~]$git tag -a 2.6.0 -m "Tag fossology release 2.6.0 at git commit 583c9f."@
@[build@fobuild ~]$git push origin 2.6.0@

Creating a tarball

To create a tarball, check out the top of tree source code. Within that directory, edit the @VERSIONSTRING@ file with release version and simple run:

@make tar-release@

This will create a file called ''fossology-2.6.0.tar.gz''

Building Fossology release packages

Need to run with 'build' user on fobuild.fc.hp.com:~/ sudo su - build

+1. @[build@fobuild ~] cd /home/build/pb/projects/fossology/2.6.1@
@$pb -p fossology -r 2.6.1 sbx2build@

+2. @[build@fobuild ~]$cd /home/build/pb/projects/fossology/delivery@
@[build@fobuild delivery]$ tar -zxvf fossology-2.6.1.tar.gz@

+3. Edit @/home/build/pb/projects/fossology/delivery/fossology-2.6.1/VERSIONSTRING@ to 2.6.1
@[build@fobuild delivery]$ tar -cf fossology-2.6.1.tar fossology-2.6.1@
@[build@fobuild delivery]$ gzip fossology-2.6.1.tar@
replace the old one file

+4.@[build@fobuild ~]$ ./runBuild_v2.6.1.php -V 2.6.1 -v@

+5.All packages generated under @/var/ftp/pub/fossology/2.6.1@

Copy Packages to fossology.org

  • You must copy from fossbuild to fossology.org as the user fossology.
  • Packages on fossology.org are stored at:/var/www/fossology.org/htdocs/releases/.
cd /var/ftp/pub/fossology/
scp -r 2.6.1 [email protected]:/var/www/fossology.org/htdocs/releases/

Copy the tar ball to @[email protected]:/var/www/fossology.org/htdocs/releases/2.6.1/@

Clone this wiki locally