Skip to content

Commit 710a14e

Browse files
authored
fix: add dependabot prefix (#124)
1 parent c8d0e62 commit 710a14e

File tree

6 files changed

+41
-22
lines changed

6 files changed

+41
-22
lines changed

.chglog/config.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,21 @@ options:
1010
filters:
1111
Type:
1212
- feat
13-
sort_by: Scope
13+
- feature
14+
- fix
15+
- perf
16+
- refactor
17+
- chore
1418

1519
commit_groups:
16-
group_by: Type
17-
sort_by: Title
18-
title_order:
19-
- feat
2020
title_maps:
2121
feat: Features
22+
feature: features
23+
fix: Bug Fixes
24+
Fix: Bug Fixes
25+
perf: Performance Improvements
26+
refactor: Code Refactoring
27+
chore: Chores
2228

2329
header:
2430
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
@@ -29,7 +35,3 @@ options:
2935
notes:
3036
keywords:
3137
- BREAKING CHANGE
32-
issues:
33-
prefix:
34-
- bugfix
35-
- fix

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,17 @@ updates:
88
- package-ecosystem: "gomod" # See documentation for possible values
99
directory: "/" # Location of package manifests
1010
rebase-strategy: auto
11+
commit-message:
12+
prefix: "fix"
13+
include: scope
1114
schedule:
1215
interval: "daily"
1316

1417
- package-ecosystem: "github-actions"
1518
directory: "/"
1619
rebase-strategy: auto
20+
commit-message:
21+
prefix: "fix"
22+
include: scope
1723
schedule:
1824
interval: "weekly"

.github/workflows/Release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ jobs:
7070
- name: Publish Release
7171
run: >-
7272
awesome-ci release publish --release-id ${{ needs.create_release.outputs.releaseid }}
73-
-a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_linux_amd64"
74-
-a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_linux_arm64"
75-
-a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_windows_amd64.exe"
76-
-a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_windows_arm64.exe"
73+
-a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_linux-amd64"
74+
-a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_linux-arm64"
75+
-a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_windows-amd64.exe"
76+
-a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_windows-arm64.exe"
7777
-body "scripts/release-template.md"
7878
env:
7979
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/branchPR.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
echo "git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@': $(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')"
3737
3838
- name: test build Infos
39-
run: build/package/awesome-ci_${{ needs.generate_infos.outputs.version }}_linux_amd64 pr info -n ${{ github.event.pull_request.number }} -v > $GITHUB_STEP_SUMMARY
39+
run: build/package/awesome-ci_${{ needs.generate_infos.outputs.version }}_linux-amd64 pr info -n ${{ github.event.pull_request.number }} -v > $GITHUB_STEP_SUMMARY
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242
- name: test env file

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
<a name="unreleased"></a>
22
## [Unreleased]
33

4+
### Bug Fixes
5+
- add dependabot prefix
6+
7+
8+
<a name="1.1.0"></a>
9+
## [1.1.0] - 2023-01-13
10+
### Features
11+
- add os naming to filename ([#123](https://github.com/fullstack-devops/awesome-ci/issues/123))
12+
13+
14+
<a name="1.0.2"></a>
15+
## [1.0.2] - 2023-01-13
416

517
<a name="1.0.1"></a>
618
## [1.0.1] - 2023-01-13
@@ -12,6 +24,8 @@
1224
<a name="1.0.0"></a>
1325
## [1.0.0] - 2023-01-12
1426

15-
[Unreleased]: https://github.com/fullstack-devops/awesome-ci/compare/1.0.1...HEAD
27+
[Unreleased]: https://github.com/fullstack-devops/awesome-ci/compare/1.1.0...HEAD
28+
[1.1.0]: https://github.com/fullstack-devops/awesome-ci/compare/1.0.2...1.1.0
29+
[1.0.2]: https://github.com/fullstack-devops/awesome-ci/compare/1.0.1...1.0.2
1630
[1.0.1]: https://github.com/fullstack-devops/awesome-ci/compare/1.0.0...1.0.1
1731
[1.0.0]: https://github.com/fullstack-devops/awesome-ci/compare/0.13.1...1.0.0

Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ BUILD_DIR = ./build
66
VERSION ?=$(shell git describe --tags --exact-match 2>/dev/null || echo "dev-pr")
77
COMMIT_HASH ?= $(shell git rev-parse --short HEAD 2>/dev/null)
88
BUILD_DATE ?= $(shell date +%FT%T%z)
9-
PLATFORM ?= $(shell dpkg --print-architecture)
109

1110
# remove debug info from the binary & make it smaller
1211
LDFLAGS += -s -w
1312
# inject build info
1413
LDFLAGS += -X ${PROJECT_PKG}/internal/app/build.Version=${VERSION} -X ${PROJECT_PKG}/internal/app/build.CommitHash=${COMMIT_HASH} -X ${PROJECT_PKG}/internal/app/build.BuildDate=${BUILD_DATE}
1514

16-
#PLATFORMS := linux/amd64 windows/amd64
17-
1815
.PHONY: docs clean
1916

2017
all: dep awesome-ci
@@ -27,10 +24,10 @@ dep_update:
2724
go get -t ./...
2825

2926
awesome-ci: dep
30-
GOOS=linux GOARCH=amd64 go build ${GOARGS} -tags "${GOTAGS}" -ldflags "${LDFLAGS}" -o ${BUILD_DIR}/package/awesome-ci_${VERSION}_linux_amd64 ./cmd/awesome-ci
31-
GOOS=linux GOARCH=arm64 go build ${GOARGS} -tags "${GOTAGS}" -ldflags "${LDFLAGS}" -o ${BUILD_DIR}/package/awesome-ci_${VERSION}_linux_arm64 ./cmd/awesome-ci
32-
GOOS=windows GOARCH=amd64 go build ${GOARGS} -tags "${GOTAGS}" -ldflags "${LDFLAGS}" -o ${BUILD_DIR}/package/awesome-ci_${VERSION}_windows_amd64.exe ./cmd/awesome-ci
33-
GOOS=windows GOARCH=arm64 go build ${GOARGS} -tags "${GOTAGS}" -ldflags "${LDFLAGS}" -o ${BUILD_DIR}/package/awesome-ci_${VERSION}_windows_arm64.exe ./cmd/awesome-ci
27+
GOOS=linux GOARCH=amd64 go build ${GOARGS} -tags "${GOTAGS}" -ldflags "${LDFLAGS}" -o ${BUILD_DIR}/package/awesome-ci_${VERSION}_linux-amd64 ./cmd/awesome-ci
28+
GOOS=linux GOARCH=arm64 go build ${GOARGS} -tags "${GOTAGS}" -ldflags "${LDFLAGS}" -o ${BUILD_DIR}/package/awesome-ci_${VERSION}_linux-arm64 ./cmd/awesome-ci
29+
GOOS=windows GOARCH=amd64 go build ${GOARGS} -tags "${GOTAGS}" -ldflags "${LDFLAGS}" -o ${BUILD_DIR}/package/awesome-ci_${VERSION}_windows-amd64.exe ./cmd/awesome-ci
30+
GOOS=windows GOARCH=arm64 go build ${GOARGS} -tags "${GOTAGS}" -ldflags "${LDFLAGS}" -o ${BUILD_DIR}/package/awesome-ci_${VERSION}_windows-arm64.exe ./cmd/awesome-ci
3431

3532
test: ## Run unittests
3633
-go test -short -v ./internal/pkg/...

0 commit comments

Comments
 (0)