File tree 1 file changed +0
-17
lines changed
1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -47,30 +47,13 @@ jobs:
47
47
mkdir -p _dist
48
48
cp ./deployments/workloads/runtime.yaml _dist/runtime.yaml
49
49
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
57
50
58
51
- name : create release
59
52
if : startsWith(github.ref, 'refs/tags/v')
60
53
env :
61
54
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
55
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
69
56
gh release create ${{ env.RELEASE_VERSION }} \
70
- --notes-file RELEASE_NOTES.md \
71
- --title ${{ env.RELEASE_VERSION }} \
72
- --verify-tag
73
- $PRERELEASE_ARGS \
74
57
_dist/runtime.yaml#example-runtimes \
75
58
_dist/workload.yaml#example-workloads \
76
59
You can’t perform that action at this time.
0 commit comments