|
3 | 3 | <!-- vim-markdown-toc GFM --> |
4 | 4 |
|
5 | 5 | * [Development Setup](#development-setup) |
6 | | - * [Requirements](#requirements) |
7 | | - * [Environment Variables and Test Data](#environment-variables-and-test-data) |
8 | | - * [Refresh Test Data](#refresh-test-data) |
9 | | - * [Issue Tracker](#issue-tracker) |
10 | | - * [Branching](#branching) |
11 | | - * [Code Generator](#code-generator) |
12 | | - * [Good Commit Message Examples](#good-commit-message-examples) |
13 | | - * [Before Pushing your Commit](#before-pushing-your-commit) |
14 | | - * [Tips and Tricks](#tips-and-tricks) |
| 6 | + * [Requirements](#requirements) |
| 7 | + * [Environment Variables and Test Data](#environment-variables-and-test-data) |
| 8 | + * [Refresh Test Data](#refresh-test-data) |
| 9 | + * [Issue Tracker](#issue-tracker) |
| 10 | + * [Branching](#branching) |
| 11 | + * [Code Generator](#code-generator) |
| 12 | + * [Good Commit Message Examples](#good-commit-message-examples) |
| 13 | + * [Before Pushing your Commit](#before-pushing-your-commit) |
| 14 | + * [Tips and Tricks](#tips-and-tricks) |
15 | 15 | * [Custom Packages we are using](#custom-packages-we-are-using) |
16 | 16 | * [Test Driven Development](#test-driven-development) |
17 | 17 | * [How the Commands Authenticate](#how-the-commands-authenticate) |
18 | 18 | * [Commands Pattern](#commands-pattern) |
| 19 | +* [Releasing to Github](#releasing-to-github) |
19 | 20 |
|
20 | 21 | <!-- vim-markdown-toc --> |
21 | 22 |
|
@@ -138,3 +139,17 @@ Authenticate using `gitlabctl login` command. |
138 | 139 |
|
139 | 140 | The command chain format is inspired from `kubectl` or `oc` Verb -> Subject -> Flags. |
140 | 141 |
|
| 142 | +## Releasing to Github |
| 143 | + |
| 144 | +* Build and create the version tag |
| 145 | + |
| 146 | +```bash |
| 147 | +export VERSION=nextVersion |
| 148 | +make test |
| 149 | +make all # create biniaries in bin/ |
| 150 | +git tag -a "v${VERSION}" -m "release description" |
| 151 | +git push origin v${VERSION} |
| 152 | +``` |
| 153 | + |
| 154 | +* Create a github release page |
| 155 | +* Upload binaries to github release page |
0 commit comments