Skip to content

Commit

Permalink
ci: fix release configuration issues (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
shtaif authored Dec 24, 2024
1 parent e6f6a40 commit f162d81
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-new-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
dry_run:
type: boolean
default: false
description: Perform as a dry run
description: Perform as dry run

jobs:
release_new_version:
Expand Down
42 changes: 42 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
plugins:
- - '@semantic-release/commit-analyzer'
- preset: angular
releaseRules:
- { type: docs, release: patch }
- { type: refactor, release: patch }
- { type: style, release: patch }
parserOpts:
noteKeywords: [BREAKING CHANGE, BREAKING CHANGES]

- - '@semantic-release/release-notes-generator'
- preset: conventionalcommits
presetConfig:
types:
- { type: feat, section: Features, hidden: false }
- { type: fix, section: Bug Fixes, hidden: false }
- { type: perf, section: Performance, hidden: false }
- { type: refactor, section: Refactor, hidden: false }
- { type: test, section: Tests, hidden: false }
- { type: revert, section: Reverts, hidden: false }
- { type: docs, section: Documentation, hidden: false }
- { type: ci, section: Continuous Integration, hidden: true }
- { type: build, section: Build System, hidden: false }

- - '@semantic-release/changelog'
- {}

- - '@semantic-release/github'
- {}

- - '@semantic-release/npm'
- {}

- - '@semantic-release/git'
- assets:
- package.json
- CHANGELOG.md
message: |-
chore(release): ${nextRelease.version} [skip ci]
${nextRelease.notes}

0 comments on commit f162d81

Please sign in to comment.