Skip to content

Commit

Permalink
fix(ci): push permission
Browse files Browse the repository at this point in the history
see #12
close #10
  • Loading branch information
duncdrum committed Apr 20, 2024
1 parent 4ad598b commit 6392823
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

# Lint commit messages
- name: lint commit message
uses: wagoid/commitlint-github-action@v5
uses: wagoid/commitlint-github-action@v6

release:
name: Release
Expand Down
53 changes: 35 additions & 18 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,29 +1,46 @@
{
"branches": ["master"],
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "", "release": "patch" }
]
},
"@semantic-release/release-notes-generator",
["@semantic-release/exec", {
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
}],
["@semantic-release/git", {
"assets": ["package.json", "package-lock.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
["@semantic-release/github", {
"assets": [
{
"path": "build/frus-history.xar",
"name": "frus-history.xar",
"label": "Expath package (frus-history.xar)"
"type": "",
"release": "patch"
}
]
}]
},
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"package-lock.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "build/frus-history.xar",
"name": "frus-history.xar",
"label": "Expath package (frus-history.xar)"
}
]
}
]
]
}

0 comments on commit 6392823

Please sign in to comment.