File tree Expand file tree Collapse file tree 4 files changed +15
-12
lines changed
Expand file tree Collapse file tree 4 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 5858 - name : Package buildpack
5959 run : buildpack-packager build -cached -any-stack
6060
61- - name : Upload packaged buildpack
62- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
63- uses : actions/upload-artifact@v4
64- with :
65- name : packaged-buildpack
66- path : " *.zip"
67- if-no-files-found : error
68-
6961 release-buildpack :
7062 name : Release Buildpack
7163 runs-on : ubuntu-latest
@@ -83,18 +75,21 @@ jobs:
8375 with :
8476 fetch-depth : 0
8577
86- - name : Download packaged buildpack
87- uses : actions/download-artifact@v4
78+ - name : Set up Go
79+ uses : actions/setup-go@v5
8880 with :
89- name : packaged-buildpack
81+ go-version : " 1.22"
82+
83+ - name : Install buildpack-packager
84+ run : go install github.com/cloudfoundry/libbuildpack/packager/buildpack-packager@latest
9085
9186 - name : Set up Node.js
9287 uses : actions/setup-node@v4
9388 with :
9489 node-version : " 22"
9590
9691 - name : Install semantic-release
97- run : npm install --no-save semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/github conventional-changelog-conventionalcommits
92+ run : npm install --no-save semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/github @semantic-release/exec conventional-changelog-conventionalcommits
9893
9994 - name : Publish semantic release
10095 env :
Original file line number Diff line number Diff line change 1616 "preset" : " conventionalcommits"
1717 }
1818 ],
19+ [
20+ " @semantic-release/exec" ,
21+ {
22+ "prepareCmd" : " printf '%s\\ n' <%= nextRelease.version %> > VERSION && buildpack-packager build -cached -any-stack"
23+ }
24+ ],
1925 [
2026 " @semantic-release/github" ,
2127 {
Original file line number Diff line number Diff line change 1+ 0.0.0
Original file line number Diff line number Diff line change 22language : python-uv
33
44include_files :
5+ - VERSION
56 - bin/compile
67 - bin/detect
78 - bin/release
You can’t perform that action at this time.
0 commit comments