-
Notifications
You must be signed in to change notification settings - Fork 459
Deploying Updates
#Quick Guide
Run .\run-tests.cmd
and ensure you have no failing tests. Ideally there would be more tests, but for the moment they'll have to do.
Once that is all sorted, update the version number in the src\GlobalAssemblyVersion.cs
file to the new version.
This also appears in the MarkPad Help link when you run the app.
Run .\package.cmd
from the command line - this generates the binaries and dependencies you need.
Move the artifacts\MarkPad.exe
file to tools\versions\{version-number}\
a
Note: this should be automated but I don't have a quick way to generate the above steps from the command line. Highly desired once I get this back on the build server.
This is the manual part (it supports command line but I need to investigate further):
- Open the
tools\wyBuild.wyp
project configuration in WyBuild. - Under the Update Information tab create a new update tab, named {version-number} and fill in a description.
- Under the Files & Folder tab select the new version and add Markpad.exe from
tools\version\{version-number}\
to the Your program's folder node. - Under the Build wyUpdate and Updates tab press Build wyUpdate, then Build updates to generate the deltas.
- Close wyBuild and ensure the file changes are checked into version control.
Copy the contents of tools\updates
to Rackspace - Deploy/markpad/updates folder - ping me if you need these credentials.
This is exposed to MarkPad under the URL http://deploy.code52.org/markpad/updates which the client fetches when you open the app.