Skip to content

Commit 3037c64

Browse files
author
Sazon, John Bryan J
committed
add releasing guide [ci skip]
1 parent cfec37e commit 3037c64

1 file changed

Lines changed: 24 additions & 9 deletions

File tree

CONTRIBUTING.md

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@
33
<!-- vim-markdown-toc GFM -->
44

55
* [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)
1515
* [Custom Packages we are using](#custom-packages-we-are-using)
1616
* [Test Driven Development](#test-driven-development)
1717
* [How the Commands Authenticate](#how-the-commands-authenticate)
1818
* [Commands Pattern](#commands-pattern)
19+
* [Releasing to Github](#releasing-to-github)
1920

2021
<!-- vim-markdown-toc -->
2122

@@ -138,3 +139,17 @@ Authenticate using `gitlabctl login` command.
138139

139140
The command chain format is inspired from `kubectl` or `oc` Verb -> Subject -> Flags.
140141

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

Comments
 (0)