Skip to content

Commit 4a6b0d6

Browse files
authored
feat: roll out new module template format
1 parent 31fb736 commit 4a6b0d6

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ on:
1212

1313
jobs:
1414
call-terraform-release-pipeline:
15+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
1516
uses: terraform-ibm-modules/common-dev-assets/.github/workflows/release.yml@main
1617
secrets: inherit

.releaserc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"tagFormat": "v${version}",
3+
"branches": [
4+
"main"
5+
],
6+
"plugins": [
7+
"@semantic-release/commit-analyzer",
8+
"@semantic-release/release-notes-generator",
9+
"@semantic-release/github",
10+
"@semantic-release/git",
11+
[
12+
"@semantic-release/exec",
13+
{
14+
"successCmd": "echo \"SEMVER_VERSION=${nextRelease.version}\" >> $GITHUB_ENV"
15+
}
16+
]
17+
]
18+
}

0 commit comments

Comments
 (0)