User Tools

Site Tools


wiki:development:release-howto-mswin

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
wiki:development:release-howto-mswin [2015/02/24 00:53]
mikedep333 created
wiki:development:release-howto-mswin [2016/09/20 22:24]
mikedep333 ver-mswin -> release/ver-mswin We've been doing this for a while.
Line 7: Line 7:
 ^ Variable ^ Meaning ^ ^ Variable ^ Meaning ^
 | ''<ver>'' | Existing released version. For example, 4.0.3.2  | | ''<ver>'' | Existing released version. For example, 4.0.3.2  |
-| ''<ver-mswin>'' | Branch off of a released version. For example, 4.0.3.2-mswin |+| ''<release/ver-mswin>'' | Branch off of a released version. For example, 4.0.3.2-mswin |
 | ''<ver-YYYYMMDD>'' | New Windows-specific version. For example, 4.0.3.2-20150201 (for February 1st, 2015) | | ''<ver-YYYYMMDD>'' | New Windows-specific version. For example, 4.0.3.2-20150201 (for February 1st, 2015) |
 | ''<ver-YYYYMMDD-mswin>'' | Git tag for the new Windows-specific version. For example, 4.0.3.2-20150201-mswin (for February 1st, 2015) | | ''<ver-YYYYMMDD-mswin>'' | Git tag for the new Windows-specific version. For example, 4.0.3.2-20150201-mswin (for February 1st, 2015) |
Line 17: Line 17:
 |  1  | <code bash>git clone ...</code> | Clone repository on on your machine (cygwin) with git, if it doesn't already exist. | |  1  | <code bash>git clone ...</code> | Clone repository on on your machine (cygwin) with git, if it doesn't already exist. |
 |  2  | <code bash>cd <component></code> | | |  2  | <code bash>cd <component></code> | |
-|  3  | <code bash>git checkout master</code>Only necessaryif you're not already on the ''master'' branch. Check via ''git status''. | +|  3  | <code bash>git fetch --all </code>If the repo already exists, you will follow this step instead of step 1. | 
-|  4  | <code bash>git pull --rebase</code> | Always make sure the repository is up-to-date. | +|  4  | <code bash>git checkout -<release/ver-mswin> <ver> </code> | | Creates a branch off of the released tag
-|  5  | <code bash>git checkout <ver> </code> | | +
-|  6  | <code bash>git checkout -b <ver-mswin> </code> | | Creates a branch+
  
 If a branch already exists: If a branch already exists:
Line 26: Line 24:
 |  1  | <code bash>git clone ...</code> | Clone repository on on your machine (cygwin) with git, if it doesn't already exist. | |  1  | <code bash>git clone ...</code> | Clone repository on on your machine (cygwin) with git, if it doesn't already exist. |
 |  2  | <code bash>cd <component></code> | | |  2  | <code bash>cd <component></code> | |
-|  3  | <code bash>git checkout <ver-mswin></code> | Only necessary, if you're not already on the branch. Check via ''git status''. |+|  3  | <code bash>git checkout <release/ver-mswin></code> | Only necessary, if you're not already on the branch. Check via ''git status''. |
 |  4  | <code bash>git pull --rebase</code> | Always make sure the repository is up-to-date. | |  4  | <code bash>git pull --rebase</code> | Always make sure the repository is up-to-date. |
  
Line 37: Line 35:
 |  4  | <code bash>git push</code> | | |  4  | <code bash>git push</code> | |
  
-Now, perform a build with <ver-YYYYMMDD> as the version from X2Go-WinBuilder:+Now, if building X2Go Clientperform a build using Jenkins. 
 + 
 +http://jenkins.x2go.org:8080/view/All%20Releases/ 
 + 
 +After completed, the build will be uploaded under [[http://code.x2go.org/releases/binary-win32/x2goclient/heuler/|the heuler folder]] (and will not have the git commit hash in its filename, which sets it apart from the nightly builds.) 
 + 
 + 
 +If building PyHoca-GUI perform a build with <ver-YYYYMMDD> as the version from X2Go-WinBuilder:
  
-http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient 
 http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:pyhoca-gui http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:pyhoca-gui
  
Line 49: Line 53:
 |  2  | <code bash>git push --tags</code> | Run this **on your own machine** to push the new tag. | |  2  | <code bash>git push --tags</code> | Run this **on your own machine** to push the new tag. |
 |  3  | Upload the installers to code.x2go.org | FIXME: Fill in details | |  3  | Upload the installers to code.x2go.org | FIXME: Fill in details |
-|  4  | <code bash>x2go-signtarballs</code> | On code.x2go.org via SSH. Automatically signs and checksums tarballs, dmg files etc. No manual work required. |+|  4  | <code bash>cd <directory>> && ~/sign_packages/sighntarballs.sh</code> | On code.x2go.org via SSH. Automatically signs and checksums tarballs, dmg files etc. No manual work required. |
  
 Follow-Up: Follow-Up:
wiki/development/release-howto-mswin.txt · Last modified: 2017/03/11 20:40 by mikedep333