Line 8: |
Line 8: |
| # I recommend creating a new directory: | | # I recommend creating a new directory: |
| #: <code> cd ~/dev</code> | | #: <code> cd ~/dev</code> |
− | #: <code> git clone git://github.com/statgen/gotcloud.git</code> | + | #: <code> git clone git@github.com:statgen/gotcloud.git</code> |
| #: <code> cd gotcloud</code> | | #: <code> cd gotcloud</code> |
| # Build the source | | # Build the source |
− | #: <code> cd src</code> | + | #: <code> cd src && make && cd ..</code> |
− | #: <code> make</code>
| |
| # Run the tests, ensure they all succeed | | # Run the tests, ensure they all succeed |
− | #: <code>./gotcloud align --test testDir</code> | + | #: <code> cd src && make test && cd ..</code> |
− | #: <code>./gotcloud snpcall --test testDir</code>
| + | #: <code>./gotcloud test</code> |
− | #: <code>./gotcloud ldrefine --test testDir</code>
| |
− | #: <code>./gotcloud indel --test testDir</code> | |
| # Update the version number (if you have not already). | | # Update the version number (if you have not already). |
| #* Edit release_version.txt | | #* Edit release_version.txt |
Line 28: |
Line 25: |
| #: <code>git checkout latest</code> | | #: <code>git checkout latest</code> |
| #: <code>git merge master</code> | | #: <code>git merge master</code> |
| + | #: <code>git push</code> |
| #: <code>git checkout master</code> | | #: <code>git checkout master</code> |
− | #: <code>git push</code> | + | # Create and push a release tag |
− | # Create a release tag
| |
| #: <code>git tag -a gotcloud.1.XX -m 'version 1.XX'</code> | | #: <code>git tag -a gotcloud.1.XX -m 'version 1.XX'</code> |
− | # Push tag
| |
| #: <code> git push origin gotcloud.1.XX</code> | | #: <code> git push origin gotcloud.1.XX</code> |
− | # Create the packages (debian and tar) | + | # Create the debian packages |
− | #* cd to one directory above gotcloud
| + | #* Generate the packages |
− | #*: <code> cd ..</code>
| + | #*: <code> ./debian/makedeb.sh bin =</code> |
− | #* Generate the packages & copy to ftp://share.sph.umich.edu/gotcloud/ (all done for you by the script) | + | #*: <code> ./debian/makedeb.sh test =</code> |
− | #*: <code> /net/wonderland/home/mktrost/gc-admin/genDebs.sh</code> | |
− | #* at prompt, enter:
| |
− | #*: <code>y</code> | |
| # Generate the release notes on github | | # Generate the release notes on github |
| #: On github, login | | #: On github, login |
− | #::Goto Tags, Select "Draft New Release" | + | #::Goto Tags, Select "Draft New Release" |
− | # Update wiki release documentation | + | #::* Select the "Tag version" you created |
| + | #::* Fill in the release notes |
| + | # Update wiki release documentation (for full release) |
| #* http://genome.sph.umich.edu/wiki/GotCloud:_Versions | | #* http://genome.sph.umich.edu/wiki/GotCloud:_Versions |
− | # Send Email to google group | + | # Send Email to google group (for full release) |
| #* gotcloud@googlegroups.com | | #* 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) | | #* 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) |
| #** https://groups.google.com/forum/?hl=en#!forum/gotcloud | | #** https://groups.google.com/forum/?hl=en#!forum/gotcloud |
| # Install on mario | | # Install on mario |
| + | #* In the gotcloud directory where you generated the deb files, run: |
| + | #*: <code>./debian/install_gotcloud_without_root.sh 1.16 /net/mario</code> |
| + | #* Install the latest gotcloud in the gotcloud.old directory (named by version) so someone can run a specific version |
| + | #*: <code>./debian/install_gotcloud_without_root.sh 1.16 /net/mario/gotcloud.old</code> |
| + | #* Rename to the version name: |
| + | #*: <code>mv /net/mario/gotcloud.old/gotcloud /net/mario/gotcloud.old/gotcloud.1.XX</code> |
| # Send email to csg group to inform them of the newly installed version on the cluster and of any relevant changes | | # Send email to csg group to inform them of the newly installed version on the cluster and of any relevant changes |
| #* gotcloudUsers@umich.edu | | #* gotcloudUsers@umich.edu |