File tree Expand file tree Collapse file tree 4 files changed +3
-43
lines changed Expand file tree Collapse file tree 4 files changed +3
-43
lines changed Original file line number Diff line number Diff line change 31
31
mkdir output
32
32
go build -v -o TechTestApp .
33
33
ls
34
- ./TechTestApp version | sed -e 's/Version: /v./' > versionfile
34
+ ./TechTestApp -- version | sed -e 's/TechTestApp version /v./' > versionfile
35
35
36
36
37
37
- run :
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ var rootCmd = &cobra.Command{
54
54
This application is used as part of testing potential candiates at Vibrato.
55
55
56
56
Please visit http://vibrato.com.au for more details` ,
57
+ Version : "0.3.1" ,
57
58
}
58
59
59
60
// Execute adds all child commands to the root command and sets flags appropriately.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ Continuous integration is managed through circleci and the build on the master b
120
120
121
121
Releases are deployed and managed through github, it's an automated process that is executed through the CI solution
122
122
123
- To create a new release, update ` ../cmd/version .go ` with the new version and merge that into the master branch.
123
+ To create a new release, update ` ../cmd/root .go ` with the new version and merge that into the master branch.
124
124
125
125
The commit message on the merge, will be the release message, so make sure it contains the release notes.
126
126
You can’t perform that action at this time.
0 commit comments