Skip to content

Commit ff2f4ee

Browse files
committed
fix release action problems
1 parent e6f6a40 commit ff2f4ee

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

.github/workflows/release-new-version.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
dry_run:
77
type: boolean
88
default: false
9-
description: Perform as a dry run
9+
description: Perform as dry run
1010

1111
jobs:
1212
release_new_version:
@@ -29,6 +29,7 @@ jobs:
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
32+
DEBUG: semantic-release:* #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
3233
with:
3334
semantic_version: 19.0.5
3435
dry_run: ${{ inputs.dry_run }}

.releaserc.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
branches:
3+
- '+([0-9])?(.{+([0-9]),x}).x'
4+
- name: fix-release-action
5+
range: 0.x
6+
- master
7+
- main
8+
- next
9+
- next-major
10+
- { name: beta, prerelease: true }
11+
- { name: alpha, prerelease: true }
12+
13+
plugins:
14+
- - '@semantic-release/commit-analyzer'
15+
- preset: angular
16+
releaseRules:
17+
- { type: docs, release: patch }
18+
- { type: refactor, release: patch }
19+
- { type: style, release: patch }
20+
parserOpts:
21+
noteKeywords: [BREAKING CHANGE, BREAKING CHANGES]
22+
23+
- - '@semantic-release/release-notes-generator'
24+
- preset: conventionalcommits
25+
presetConfig:
26+
types:
27+
- { type: feat, section: Features, hidden: false }
28+
- { type: fix, section: Bug Fixes, hidden: false }
29+
- { type: perf, section: Performance, hidden: false }
30+
- { type: refactor, section: Refactor, hidden: false }
31+
- { type: test, section: Tests, hidden: false }
32+
- { type: revert, section: Reverts, hidden: false }
33+
- { type: docs, section: Documentation, hidden: false }
34+
- { type: CI, section: Continuous Integration, hidden: false }
35+
- { type: build, section: Build System, hidden: false }
36+
37+
- - '@semantic-release/changelog'
38+
- {}
39+
40+
- - '@semantic-release/github'
41+
- {}
42+
43+
- - '@semantic-release/npm'
44+
- {}
45+
46+
- - '@semantic-release/git'
47+
- assets:
48+
- package.json
49+
- CHANGELOG.md
50+
message: |-
51+
chore(release): ${nextRelease.version} [skip ci]
52+
53+
${nextRelease.notes}

0 commit comments

Comments
 (0)