Debian Codegraph @

README.release.md

raw symbols SCIP
1 # Creating a New Release
2
3 ## Changelog
4
5 - [ ] Update the CHANGELOG file in the project root directory.
6 Use `git log --oneline v0.1.0..HEAD` to get the changes since the last tag.
7 Pick the most important changes, especially user facing ones.
8
9 The following format should be used when adding an entry:
10
11 ```
12 ## [X.Y.Z] - YYYY-MM-DD
13 ### Breaking Changes
14 - ...
15
16 ### New Features
17 - ...
18
19 ### Bug Fixes
20 - ...
21 ```
22
23 ## Tagging
24
25 - [ ] Tag new release in git.
26 ```bash
27 # Make sure your local git repo is sync with upstream.
28 # The whole version string should log like `v0.1.0`.
29 # For the commit message use the following format: `go-nft 0.1.0 release`.
30 git tag --sign v<version>
31 git push upstream --tags
32 ```
33
34 - [ ] In case there is a need to remove a tag:
35 ```bash
36 # Remove local tag
37 git tag -d <tag_name>
38
39 # Remove upstream tag
40 git push --delete upstream <tag_name>
41 ```
42
43 ## GitHub Release
44
45 - [ ] Visit [github draft release page][1].
46 - [ ] Make sure you are in `Release` tab.
47 - [ ] Choose the git tag just pushed.
48 - [ ] Set title with the following format: `Version 0.1.0 release`.
49 - [ ] The content should be copied from the `CHANGELOG` file.
50 - [ ] Click `Save draft` and seek for review.
51 - [ ] Click `Publish release` once approved.