Skip to content

Commit

Permalink
fix: test release flow
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
  • Loading branch information
yshyn-iohk committed Jul 5, 2024
1 parent d993987 commit 1e76382
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.IDENTUS_CI }}
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.inputs.release-branch }}
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down
44 changes: 23 additions & 21 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,35 @@ branches:
plugins:
- '@semantic-release/commit-analyzer'
- [
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": ":rocket: New Content",
"hidden": false
},
{
"type": "fix",
"section": ":sparkles: Updates",
"hidden": false
},
]
}
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": ":rocket: New Content",
"hidden": false
},
{
"type": "fix",
"section": ":sparkles: Updates",
"hidden": false
},
]
}
]
}
]
- [ '@semantic-release/changelog', { changelogFile: 'CHANGELOG.md' } ]
- [ '@semantic-release/exec', {
prepareCmd: 'npm version ${nextRelease.version} --git-tag-version false && ./infra/release-docs-container.sh ${nextRelease.version}',
} ]
} ]
- [ '@semantic-release/git', {
assets: [ 'package.json' , 'package-lock.json', 'CHANGELOG.md' ],
message: 'chore(release): release the Identus documentation portal ${nextRelease.version}
${nextRelease.notes}' } ]
${nextRelease.notes}' }
]
- [ "semantic-release-slack-bot", {
notifyOnSuccess: true,
notifyOnFail: true,
Expand All @@ -42,4 +43,5 @@ plugins:
text: "A new version of `$package_name` successfully released!\n
Version: `$npm_package_version`\n
Release notes:\n
$release_notes" } } ]
$release_notes" } }
]

0 comments on commit 1e76382

Please sign in to comment.