File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -47,30 +47,13 @@ jobs:
4747 mkdir -p _dist
4848 cp ./deployments/workloads/runtime.yaml _dist/runtime.yaml
4949 cp ./deployments/workloads/workload.yaml _dist/workload.yaml
50-
51- - name : extract changelog
52- run : |
53- TAG_NAME=${GITHUB_REF#refs/tags/}
54- cd $GITHUB_WORKSPACE
55- ./scripts/extract-changelog.sh $TAG_NAME > RELEASE_NOTES.md
56- cat RELEASE_NOTES.md
5750
5851 - name : create release
5952 if : startsWith(github.ref, 'refs/tags/v')
6053 env :
6154 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6255 run : |
63- TAG_NAME=${GITHUB_REF#refs/tags/}
64- if [[ "$TAG_NAME" =~ .+-pre.* ]]; then
65- PRERELEASE_ARGS="--prerelease --latest=false"
66- else
67- PRERELEASE_ARGS=""
68- fi
6956 gh release create ${{ env.RELEASE_VERSION }} \
70- --notes-file RELEASE_NOTES.md \
71- --title ${{ env.RELEASE_VERSION }} \
72- --verify-tag
73- $PRERELEASE_ARGS \
7457 _dist/runtime.yaml#example-runtimes \
7558 _dist/workload.yaml#example-workloads \
7659
You can’t perform that action at this time.
0 commit comments