Skip to content

Commit

Permalink
fix: Correct auto-release configuration file (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed May 18, 2023
1 parent 274efc3 commit 74847b1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.78.0
rev: v1.79.1
hooks:
- id: terraform_fmt
- id: terraform_validate
Expand Down
29 changes: 27 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"branches": [
"main"
"main",
"master"
],
"ci": false,
"plugins": [
[
"@semantic-release/commit-analyzer",
Expand All @@ -15,6 +17,29 @@
"preset": "conventionalcommits"
}
],
"@semantic-release/github"
[
"@semantic-release/github",
{
"successComment": "This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:",
"labels": false,
"releasedLabels": false
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file."
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
],
"message": "chore(release): version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}

0 comments on commit 74847b1

Please sign in to comment.