mirror of
https://github.com/shizand/statapp.git
synced 2025-04-05 09:03:45 +03:00
ci: исправил release.yml
This commit is contained in:
parent
42bd6668e0
commit
2811f75a85
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -33,5 +33,6 @@ jobs:
|
|||||||
@semantic-release/git
|
@semantic-release/git
|
||||||
@semantic-release/changelog
|
@semantic-release/changelog
|
||||||
conventional-changelog-conventionalcommits
|
conventional-changelog-conventionalcommits
|
||||||
|
semantic-release-github-pullrequest
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -50,13 +50,19 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"@semantic-release/git",
|
"@semantic-release/exec",
|
||||||
{
|
{
|
||||||
|
"prepareCmd": "./scripts/version ${nextRelease.version}",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"semantic-release-github-pullrequest", {
|
||||||
"assets": [
|
"assets": [
|
||||||
"CHANGELOG.md",
|
"CHANGELOG.md",
|
||||||
"pyproject.toml"
|
"pyproject.toml",
|
||||||
|
"poetry.lock"
|
||||||
],
|
],
|
||||||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
"baseRef": "main"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
3
scripts/version
Executable file
3
scripts/version
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
poetry version "$@"
|
Loading…
Reference in New Issue
Block a user