Skip to content

Commit

Permalink
Exclude irrelevant commit and include missing commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tkxkd0159 committed Jun 26, 2024
1 parent 7bade8e commit a21879d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
17 changes: 9 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,23 @@ changelog:
regexp: '^.*?BREAKING CHANGE(\([[:word:]]+\))??!?:.+$'
order: 0
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
regexp: '^.*?feat(\([^)]*\))?!?:.+$'
order: 1
- title: 'Bug Fixes'
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
regexp: '^.*?fix(\([^)]*\))?!?:.+$'
order: 2
- title: 'Build, CI'
regexp: '^.*?(ci|build)(\([[:word:]]+\))??!?:.+$'
regexp: '^.*?(ci|build)(\([^)]*\))?!?:.+$'
order: 3
- title: 'Document Updates'
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
order: 4
- title: Improvements
regexp: '^.*?(test|refactor|perf)(\([[:word:]]+\))??!?:.+$'
regexp: '^.*?(test|refactor|perf)(\([^)]*\))?!?:.+$'
order: 4
- title: 'Document Updates'
regexp: '^.*?docs(\([^)]*\))?!?:.+$'
order: 5
- title: Others
order: 999
regexp: '^.*?(chore|style|revert)(\([^)]*\))?!?:.+$'
order: 6

release:
github:
Expand Down
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -542,14 +542,13 @@ release:
-e GITHUB_TOKEN="$(GITHUB_TOKEN)" \
--platform linux/amd64 \
-e GITHUB_TOKEN=$(GITHUB_TOKEN) \
-e OST_VERSION=$(OST_VERSION) \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
$(GORELEASER_IMAGE) \
release \
--clean \
--skip=announce \
--skip=announce
else
release:
@echo "Error: GITHUB_TOKEN is not defined. Please define it before running 'make release'."
Expand All @@ -566,7 +565,7 @@ release-dry-run:
$(GORELEASER_IMAGE) \
release \
--clean \
--skip=validate --skip=publish --skip=announce \
--skip=publish --skip=announce --skip=validate \
--verbose

release-snapshot:
Expand All @@ -580,7 +579,6 @@ release-snapshot:
$(GORELEASER_IMAGE) \
release \
--clean \
--snapshot \
--skip=publish --skip=announce
--snapshot

.PHONY: release release-dry-run release-snapshot

0 comments on commit a21879d

Please sign in to comment.