Skip to content

Commit

Permalink
ci: added sementic release
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSamuel committed Oct 24, 2024
1 parent 1648eac commit 647225b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/sementic-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Versioning

on:
workflow_dispatch:
push:
branches:
- main

jobs:
versioning:
uses: GEWIS/actions/.github/workflows/versioning.yml@4173a1167c90cd065f296f40abc1d35995cf35e7
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24 changes: 24 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"successComment": false,
"failComment": false,
"failTitle": false,
"labels": false,
"releasedLabels": false
}
],
[
"@semantic-release/git",
{
"assets": ["package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}

0 comments on commit 647225b

Please sign in to comment.