You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+17-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Trackman is a command line tool and Go library that runs multiple commands in a
4
4
5
5
## Install
6
6
7
-
Head to [Trackman's releases](https://github.com/cloud66/trackman/releases/tag/1.0.0-pre) and install download the executable for your OS / Architecture. Your version will be updated to the latest version after the first run, so don't worry about the version you pickup first.
7
+
Head to [Trackman's releases](https://github.com/cloud66/trackman/releases/latest) and install download the executable for your OS / Architecture. Your version will be updated to the latest version after the first run, so don't worry about the version you pickup first.
8
8
9
9
## Use
10
10
@@ -185,16 +185,31 @@ This will switch trackman to the **dev** (development) channel and will update i
185
185
186
186
## Release
187
187
188
-
If you want to release a new version of Trackman, follow these steps:
188
+
### Automatic Release
189
+
190
+
All commits into `master` are built, tested and released on the `edge` channel.
191
+
All tags are build, tested and released on the `stable` channel and the binaries are automatically uploaded to Github.
192
+
`dev`branch is not automatically built or released.
193
+
194
+
### Manual Release
195
+
196
+
If you want to release a new version of Trackman manually, follow these steps:
189
197
190
198
1. Start a new Release in git flow. Make sure the release name is a valid SemVer text like `1.0.0-rc1` or `2.0.4`.
191
199
2. Run `./build.sh CHANNEL`, replacing `CHANNEL` with `dev` or `stable` or `edge`
192
200
3. Run `./publish.sh`. This will upload the compiled binaries (previous step) to s3.
201
+
4. Create a Github release from the tag and upload the binaries to it.
193
202
194
203
The last step assumes you have a configured **AWS CLI** installed on your machine with the right permissions to push to `downloads.cloud66.com` bucket.
195
204
196
205
### Rollback
197
206
207
+
### Automatic Rollback
208
+
209
+
On Builtkite, run the needed release again with `FORCE` environment variable equal to `force`.
210
+
211
+
### Manual Rollback
212
+
198
213
If you need to rollback a release, switch to the right tag and repeat the build / publish steps but run the build step with the `--force` flag:
0 commit comments