File tree Expand file tree Collapse file tree 4 files changed +66
-123
lines changed
Expand file tree Collapse file tree 4 files changed +66
-123
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Create Release
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+
12+ jobs :
13+ create-release :
14+ runs-on : ubuntu-latest
15+ outputs :
16+ tag : ${{ steps.release.outputs.tag_name }}
17+ release_created : ${{ steps.release.outputs.release_created }}
18+ steps :
19+ - uses : googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38
20+ id : release
21+ with :
22+ token : ${{ secrets.GITHUB_TOKEN }}
23+ release-type : python
24+ config-file : .release-please-config.json
25+ manifest-file : .release-please-manifest.json
26+
27+ build-and-push-latest-image :
28+ needs : [create-release]
29+ if : ${{ needs.create-release.outputs.release_created }}
30+ permissions :
31+ contents : read
32+ id-token : write
33+ packages : write
34+ attestations : write
35+ uses : ./.github/workflows/build-and-push-to-ghcr.yml
36+ with :
37+ image_tags : latest,${{ needs.create-release.outputs.tag }}
38+ secrets : inherit
Original file line number Diff line number Diff line change 1+ {
2+ "release-type" : " python" ,
3+ "include-v-in-tag" : true ,
4+ "skip-github-release" : false ,
5+ "skip-github-pull-request" : false ,
6+ "packages" : {
7+ "." : {
8+ "release-type" : " python" ,
9+ "pull-request-header" : " :robot: Next release" ,
10+ "pull-request-footer" : " " ,
11+ "extra-files" : [
12+ {
13+ "path" : " uv.lock" ,
14+ "type" : " toml" ,
15+ "jsonpath" : " $.package[?(@.name.value=='github-standards')].version"
16+ },
17+ {
18+ "path" : " pyproject.toml" ,
19+ "type" : " toml" ,
20+ "jsonpath" : " $.project.version"
21+ }
22+ ]
23+ }
24+ }
25+ }
Original file line number Diff line number Diff line change 1+ {
2+ "." : " v1.3.1"
3+ }
You can’t perform that action at this time.
0 commit comments