-
Notifications
You must be signed in to change notification settings - Fork 0
/
DevNotes.txt
58 lines (39 loc) · 1.18 KB
/
DevNotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Development Structure
---------------------
+-AnsVaultCmd
+-Source
+-Mechanisms (submodule)
+-Tests
+-AnsVaultCmd
The following command will clone the solution, including the submodules:
> git clone --recursive https://github.com/chrisoldwood/AnsVaultCmd.git AnsVaultCmd
Command Line Builds
-------------------
To perform a release build:
> pushd AnsVaultCmd
> Build
Tests
-----
You can run the unit tests with:
> Source\Tests\bin\Release\Tests.exe
Packages
--------
The simple .zip file package can be built like so:
> BuildZip
The Chocolatey package requires some manual editing to insert the checksum:
> checksum -t sha256 Source\AnsVaultCmd\bin\Release\AnsVaultCmd.exe
> notepad Chocolatey\VERIFICATION.txt
> BuildChoco
Before zipping the source snapshot, we need a .git free copy:
> clean --all
> 7za a -tzip -bd Packages\ansvaultcmd-100s.zip . -xr!.git -xr!bin -xr!obj -xr!Packages
Release Checklist
-----------------
- Update version number (AssemblyInfo.cs).
- Update documentation (ReadMe.txt, RelNotes.txt and manual).
- Build and run tests.
- Build packages (Zip, Chocolatey and source zip).
- Upload packages.
- Tag repository.
Chris Oldwood
16th November 2018