Skip to content

Commit

Permalink
feat(ci): call release workflow and define release config
Browse files Browse the repository at this point in the history
Signed-off-by: kolvin <15124052+Kolvin@users.noreply.github.com>
  • Loading branch information
kolvin committed Jun 11, 2023
1 parent 47c3bd5 commit 015e84a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release 📦

on:
push:
branches: main

jobs:
release:
uses: kloud-cnf/workflows/.github/workflows/automated-release.yaml@v0.3.7
secrets:
BOT_GPG_PRIVATE_KEY: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
BOT_GPG_PASSPHRASE: ${{ secrets.BOT_GPG_PASSPHRASE }}
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
BOT_COMMIT_NAME: kolvin-bot
BOT_COMMIT_EMAIL: me@kolv.in
20 changes: 20 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} CHANGELOG.md [skip ci]"
}
],
"@semantic-release/github"
]
}

0 comments on commit 015e84a

Please sign in to comment.