Difference between revisions of "Releasing GotCloud"
From Genome Analysis Wiki
Jump to navigationJump to searchm (Mktrost moved page Creating Packages to Releasing GotCloud) |
|||
Line 2: | Line 2: | ||
Software for GotCloud is kept in a '''git''' repository on '''github'''. | Software for GotCloud is kept in a '''git''' repository on '''github'''. | ||
− | |||
− | + | We also create a Debian package and tar file for GotCloud. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | To release a new version of GotCloud: | |
− | <code> | + | # I recommend creating a new directory: |
− | + | #: <code> cd ~/dev</code> | |
− | + | #: <code> git clone git://github.com/statgen/gotcloud.git</code> | |
− | + | #: <code> cd gotcloud</code> | |
− | </code> | + | # Build the source |
− | + | #: <code> cd src</code> | |
− | + | #: <code> make</code> | |
− | + | # Run the tests, ensure they all succeed | |
− | + | #: <code>./gotcloud align --test testDir</code> | |
− | <code> | + | #: <code>./gotcloud snpcall --test testDir</code> |
− | + | #: <code>./gotcloud ldrefine --test testDir</code> | |
− | + | #: <code>./gotcloud indel --test testDir</code> | |
− | + | # Update the version number (if you have not already). | |
− | + | #* Edit release_version.txt | |
− | + | #* Commit the new release number | |
− | + | #*: <code>git add release_version.txt</code> | |
− | + | #*: <code>git commit -m "Release 1.XX"</code> | |
− | + | #* Push to github | |
− | + | #*: <code>git push</code> | |
− | + | # Checkout latest branch and merge master & push | |
− | + | #: <code>git checkout latest</code> | |
− | + | #: <code>git merge master</code> | |
− | </code> | + | #: <code>git checkout master</code> |
− | + | #: <code>git push</code> | |
− | + | # Create a release tag | |
− | <code> | + | #: <code>git tag -a gotcloud.1.XX -m 'version 1.XX'</code> |
− | + | # Push tag | |
− | + | #: <code> git push origin gotcloud.1.XX</code> | |
− | + | # Create the packages (debian and tar) | |
− | + | #* cd to one directory above gotcloud | |
− | + | #*: <code> cd ..</code> | |
− | + | #* Generate the packages & copy to ftp://share.sph.umich.edu/gotcloud/ (all done for you by the script) | |
− | + | #*: <code> /net/wonderland/home/mktrost/gc-admin/genDebs.sh</code> | |
− | + | #* at prompt, enter: | |
− | + | #*: <code>y</code> | |
− | + | # Generate the release notes on github | |
− | + | #: On github, login | |
− | + | #::Goto Tags, Select "Draft New Release" | |
− | + | # Update wiki release documentation | |
− | </code> | + | #* http://genome.sph.umich.edu/wiki/GotCloud:_Versions |
− | + | # Send Email to google group | |
− | + | #* gotcloud@googlegroups.com | |
− | + | #* I usually do it from the groups site as an announcement & post on behalf of GotCloud (I may need to modify your permissions to do this) | |
− | <code> | + | #** https://groups.google.com/forum/?hl=en#!forum/gotcloud |
− | + | # Install on mario | |
− | + | # Send email to csg group to inform them of the newly installed version on the cluster and of any relevant changes | |
− | + | #* gotcloudUsers@umich.edu | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 18:28, 25 February 2015
Back to parent: GotCloud
Software for GotCloud is kept in a git repository on github.
We also create a Debian package and tar file for GotCloud.
To release a new version of GotCloud:
- I recommend creating a new directory:
cd ~/dev
git clone git://github.com/statgen/gotcloud.git
cd gotcloud
- Build the source
cd src
make
- Run the tests, ensure they all succeed
./gotcloud align --test testDir
./gotcloud snpcall --test testDir
./gotcloud ldrefine --test testDir
./gotcloud indel --test testDir
- Update the version number (if you have not already).
- Edit release_version.txt
- Commit the new release number
git add release_version.txt
git commit -m "Release 1.XX"
- Push to github
git push
- Checkout latest branch and merge master & push
git checkout latest
git merge master
git checkout master
git push
- Create a release tag
git tag -a gotcloud.1.XX -m 'version 1.XX'
- Push tag
git push origin gotcloud.1.XX
- Create the packages (debian and tar)
- cd to one directory above gotcloud
cd ..
- Generate the packages & copy to ftp://share.sph.umich.edu/gotcloud/ (all done for you by the script)
/net/wonderland/home/mktrost/gc-admin/genDebs.sh
- at prompt, enter:
y
- cd to one directory above gotcloud
- Generate the release notes on github
- On github, login
- Goto Tags, Select "Draft New Release"
- On github, login
- Update wiki release documentation
- Send Email to google group
- gotcloud@googlegroups.com
- I usually do it from the groups site as an announcement & post on behalf of GotCloud (I may need to modify your permissions to do this)
- Install on mario
- Send email to csg group to inform them of the newly installed version on the cluster and of any relevant changes
- gotcloudUsers@umich.edu