Skip to content

Commit 9d8f027

Browse files
pellaredagabrys
andauthored
Add Changelog (#131)
Co-authored-by: Adam Gabryś <[email protected]>
1 parent d3d21cc commit 9d8f027

File tree

2 files changed

+43
-7
lines changed

2 files changed

+43
-7
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased](https://github.com/golang-templates/seed/compare/v0.14.0...HEAD)
9+
10+
### Added
11+
12+
- Add [CHANGELOG.md](CHANGELOG.md) based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ([#131](https://github.com/golang-templates/seed/pull/131))
13+
14+
### Changed
15+
16+
- Refine the triggers for the `build` GitHub workflow. ([#130](https://github.com/golang-templates/seed/pull/130))
17+
- Automatic trigger for the `main` branch.
18+
- Automatic trigger for pull requests targeting the `main` branch.
19+
- Manual trigger via [`workflow_dispatch`](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch) ([blog post](https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/)).
20+
- Lock the runners' version the in `build` and `release` GitHub workflows. ([#130](https://github.com/golang-templates/seed/pull/130))
21+
22+
## [0.14.0](https://github.com/golang-templates/seed/releases/tag/v0.14.0)
23+
24+
### Added
25+
26+
- Build and push a Docker container image. ([#127](https://github.com/golang-templates/seed/pull/127))
27+
28+
### Changed
29+
30+
- Move the `main` package to the root directory. ([#127](https://github.com/golang-templates/seed/pull/127))
31+
- It is suggested to use the `cmd` structure if the repository builds more than one application.
32+
- Update [.golangci.yml](https://github.com/golang-templates/seed/blob/v0.14.0/.golangci.yml). ([#127](https://github.com/golang-templates/seed/pull/127))
33+
- Update [GoReleaser](github.com/goreleaser/goreleaser) to [0.162.0](https://github.com/goreleaser/goreleaser/releases/tag/v0.162.0). ([#126](https://github.com/golang-templates/seed/pull/126))
34+
- Update [golangci-lint](github.com/golangci/golangci-lint) to [1.39.0](https://github.com/golangci/golangci-lint/releases/tag/v1.39.0). ([#125](https://github.com/golang-templates/seed/pull/125))

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Go Repository Template
22

3+
[![Keep a Changelog](https://img.shields.io/badge/changelog-Keep%20a%20Changelog-%23E05735)](CHANGELOG.md)
34
[![GitHub Release](https://img.shields.io/github/v/release/golang-templates/seed)](https://github.com/golang-templates/seed/releases)
45
[![Go Reference](https://pkg.go.dev/badge/github.com/golang-templates/seed.svg)](https://pkg.go.dev/github.com/golang-templates/seed)
56
[![go.mod](https://img.shields.io/github/go-mod/go-version/golang-templates/seed)](go.mod)
@@ -36,7 +37,10 @@ It includes:
3637
1. Click the `Use this template` button (alt. clone or download this repository).
3738
1. Replace all occurences of `golang-templates/seed` to `your_org/repo_name` in all files.
3839
1. Replace all occurences of `seed` to `repo_name` in [Dockerfile](Dockerfile).
39-
1. Update [LICENSE](LICENSE) and [README.md](README.md).
40+
1. Update the following files:
41+
- [CHANGELOG.md](CHANGELOG.md)
42+
- [LICENSE](LICENSE)
43+
- [README.md](README.md)
4044

4145
## Setup
4246

@@ -70,11 +74,11 @@ The Development Container configuration mixes [Docker in Docker](https://github.
7074
### Terminal
7175

7276
- `make` - execute the build pipeline.
73-
- `make help` - print help for provided [Make targets](Makefile).
77+
- `make help` - print help for the [Make targets](Makefile).
7478

7579
### Visual Studio Code
7680

77-
`Terminal``Run Build Task... (Ctrl+Shift+B or ⇧⌘B)` to execute the build pipeline.
81+
`F1``Tasks: Run Build Task (Ctrl+Shift+B or ⇧⌘B)` to execute the build pipeline.
7882

7983
## Release
8084

@@ -112,13 +116,11 @@ You can always remove the [.devcontainer](.devcontainer) and [.vscode](.vscode)
112116
GitHub Actions is out-of-the-box if you are already using GitHub.
113117
[Here](https://github.com/mvdan/github-actions-golang) you can learn how to use it for Go.
114118

115-
However, changing to any other CI server should be very simple, because this repository has build logic and tooling installation in Makefile.
116-
117-
You can also use the `docker` make target to run the build using a docker container.
119+
However, changing to any other CI server should be very simple, because this repository has build logic and tooling installation in [Makefile](Makefile).
118120

119121
### How can I build on Windows
120122

121-
Install [tdm-gcc](https://jmeubank.github.io/tdm-gcc/) and copy `C:\TDM-GCC-64\bin\mingw32-make.exe` to `C:\TDM-GCC-64\bin\make.exe`.
123+
Install [tdm-gcc](https://jmeubank.github.io/tdm-gcc/) and copy `C:\TDM-GCC-64\bin\mingw32-make.exe` to `C:\TDM-GCC-64\bin\make.exe`. Alternatively, you may install [mingw-w64](http://mingw-w64.org/doku.php) and copy `mingw32-make.exe` accordingly.
122124

123125
Alternatively use [WSL (Windows Subsystem for Linux)](https://docs.microsoft.com/en-us/windows/wsl/install-win10) or develop inside a [Remote Container](https://code.visualstudio.com/docs/remote/containers). However, take into consideration that then you are not going to use "bare-metal" Windows.
124126

0 commit comments

Comments
 (0)