File tree Expand file tree Collapse file tree 5 files changed +77
-40
lines changed Expand file tree Collapse file tree 5 files changed +77
-40
lines changed Original file line number Diff line number Diff line change 3232 - name : Checkout
3333 uses : actions/checkout@v5
3434 - name : Lint dockerfile
35- uses : hadolint/hadolint-action@v3.1 .0
35+ uses : hadolint/hadolint-action@v3.3 .0
3636 with :
3737 dockerfile : Dockerfile
Original file line number Diff line number Diff line change 2323 uses : actions/checkout@v5
2424
2525 - name : Setup Nodejs
26- uses : actions/setup-node@v4
26+ uses : actions/setup-node@v5
2727 with :
28- node-version : 20
28+ node-version : 24
2929
3030 - name : Install dependencies
3131 run : npm install @semantic-release/changelog @semantic-release/git @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec @semantic-release/git semantic-release/release-notes-generator
Original file line number Diff line number Diff line change 2323 uses : actions/checkout@v5
2424
2525 - name : Setup Nodejs
26- uses : actions/setup-node@v4
26+ uses : actions/setup-node@v5
2727 with :
28- node-version : 20
28+ node-version : 24
2929
3030 - name : Install dependencies
3131 run : npm install @semantic-release/changelog @semantic-release/git @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec @semantic-release/git semantic-release/release-notes-generator
Original file line number Diff line number Diff line change 11{
2- "branches": ["main"],
3- "debug": "true",
4- "plugins": [
5- "@semantic-release/commit-analyzer",
6- "@semantic-release/release-notes-generator",
7- [
8- "@semantic-release/changelog",
9- {
10- "changelogFile": "CHANGELOG.md",
11- "changelogTitle": "# Semantic Versioning Changelog"
12- }
2+ "branches": [
3+ "main"
134 ],
14- [
15- "@semantic-release/exec",
16- {
17- "prepareCmd": "echo ${nextRelease.version}"
18- }
19- ],
20- [
21- "@semantic-release/git",
22- {
23- "assets": [
24- "CHANGELOG.md"
25- ]
26- }
27- ],
28- [
29- "@semantic-release/github",
30- {
31- "assets": [
32- {
33- "path": "dist/**"
34- }
5+ "debug": "true",
6+ "plugins": [
7+ [
8+ "@semantic-release/commit-analyzer",
9+ {
10+ "preset": "angular",
11+ "releaseRules": [
12+ {
13+ "type": "docs",
14+ "scope": "readme",
15+ "release": "patch"
16+ },
17+ {
18+ "type": "build",
19+ "scope": "debs",
20+ "release": "patch"
21+ }
22+ ],
23+ "parserOpts": {
24+ "noteKeywords": [
25+ "BREAKING CHANGE",
26+ "BREAKING CHANGES",
27+ "BREAKING"
28+ ]
29+ }
30+ }
31+ ],
32+ "@semantic-release/release-notes-generator",
33+ [
34+ "@semantic-release/changelog",
35+ {
36+ "changelogFile": "CHANGELOG.md",
37+ "changelogTitle": "# Semantic Versioning Changelog"
38+ }
39+ ],
40+ [
41+ "@semantic-release/exec",
42+ {
43+ "prepareCmd": "echo ${nextRelease.version}"
44+ }
45+ ],
46+ [
47+ "@semantic-release/git",
48+ {
49+ "assets": [
50+ "CHANGELOG.md"
51+ ]
52+ }
53+ ],
54+ [
55+ "@semantic-release/github",
56+ {
57+ "assets": [
58+ {
59+ "path": "dist/**"
60+ }
61+ ]
62+ }
3563 ]
36- }
3764 ]
38- ]
39- }
65+ }
Original file line number Diff line number Diff line change 1+ PHONY : build dbuild drun
2+
3+ CONTAINER_NAME =docdee/semantic-release-gitea
4+
5+ build : dbuild
6+
7+ dbuild :
8+ docker buildx build -t " ${CONTAINER_NAME} :local" --load .
9+
10+ drun :
11+ docker run --rm " ${CONTAINER_NAME} :local"
You can’t perform that action at this time.
0 commit comments