Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): push permission #13

Merged
merged 1 commit into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)"
}
]
}
]
]
}