Skip to content

Commit

Permalink
chore(#86): mark go updating PRs as breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Nov 27, 2024
1 parent ffc32b9 commit 9b92908
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
- do not install the same version of Go twice in the go-test and go-check workflows
- mark the Go update commits as breaking changes in the style of conventional commits

### Fixed
- do not mark prereleases or versions with build strings as latest in the releaser workflow
Expand Down
4 changes: 2 additions & 2 deletions scripts/update-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ while read file; do
git add .

if ! git diff-index --quiet HEAD; then
git commit -m "chore: bump go.mod to Go $expected and run go fix"
git commit -m "chore!: bump go.mod to Go $expected and run go fix" -m "BREAKING CHANGE: Updating the Go version to $expected"
fi

if [[ -f go.work ]]; then
Expand All @@ -64,7 +64,7 @@ while read file; do
go work use
git add .
if ! git diff-index --quiet HEAD; then
git commit -m "chore: bump go.work to Go $expected"
git commit -m "chore!: bump go.work to Go $expected" -m "BREAKING CHANGE: Updating the Go version to $expected"
fi
fi

Expand Down

0 comments on commit 9b92908

Please sign in to comment.