Skip to content

Commit

Permalink
ci: exclamation triggers major version bump (#83)
Browse files Browse the repository at this point in the history
Closes #60
  • Loading branch information
StoneyJackson authored Nov 25, 2023
1 parent 33577a4 commit 7557a96
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,15 @@ jobs:
name: Checkout
uses: actions/checkout@v3
-
uses: docker://ghcr.io/codfish/semantic-release-action@sha256:cfb2b8231400c4bcb0abb8403c38aaff0c865e1bae8892b9b40893db9ef49403
uses: docker://ghcr.io/codfish/semantic-release-action
id: semantic
with:
branches: |
[
'main'
]
plugins: |
[
'@semantic-release/commit-analyzer',
'@semantic-release/github'
]
additional-packages: |
['conventional-changelog-conventionalcommits']
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
Expand Down
19 changes: 19 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Also here is a project that uses
# semantic-release and specifies its configuration using YAML:
# https://github.com/GeekHomeInside/semantic-release-example/blob/master/.releaserc.yaml
---
branches:
# Only run on main.
- main

plugins:
# Order matters.

- - "@semantic-release/commit-analyzer"
# Analyzes the commit messages since the last release
# and determines the next version number.
# Populates ${nextRelease.version} among other variables.
- preset: conventionalcommits

- - "@semantic-release/github"
# Creates GitLab release entry and uploads specified assets.

0 comments on commit 7557a96

Please sign in to comment.