Skip to content

Commit

Permalink
fix(release): update semver
Browse files Browse the repository at this point in the history
  • Loading branch information
artemrys committed May 8, 2024
1 parent ea6cafa commit 6054806
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 23 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
submodules: false
persist-credentials: false
- name: Semantic release
uses: splunk/[email protected]
uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}
with:
Expand All @@ -50,3 +50,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: splunk/addonfactory-update-semver@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}
with:
git_committer_name: ${{ secrets.SA_GH_USER_NAME }}
git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }}
gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}
22 changes: 0 additions & 22 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,6 @@
],
plugins:
[
"@semantic-release/commit-analyzer",
[
"@google/semantic-release-replace-plugin",
{
"replacements": [
{
"files": [".github/workflows/release.yml"],
"from": "uses: splunk/semantic-release-action@.*",
"to": "uses: splunk/semantic-release-action@v${nextRelease.version}",
"results": [
{
"file": ".github/workflows/release.yml",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
],
"@semantic-release/commit-analyzer",
[
"@semantic-release/exec",
Expand Down

0 comments on commit 6054806

Please sign in to comment.