mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 12:12:59 +03:00
ci: исправил release.yml (#11)
This commit is contained in:
parent
d13ed00ff7
commit
d04b2d3029
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.PAT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||||
|
@ -50,14 +50,20 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"@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