Commit abdc23c 1 parent da5e7f0 commit abdc23c Copy full SHA for abdc23c
File tree 1 file changed +0
-25
lines changed
1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 41
41
user_name : github-actions[bot]
42
42
user_email : 41898282+github-actions[bot]@users.noreply.github.com
43
43
44
- clean-assets :
45
- runs-on : ubuntu-latest
46
- needs : deploy
47
- steps :
48
- - name : Checkout code
49
- uses : actions/checkout@v3
50
-
51
- - name : Get latest tag
52
- run : |
53
- TAG=$(git fetch --tags && git tag --sort=-v:refname | grep -E '^kubeskoop-exporter-' | head -n 1)
54
- if [[ -n "$TAG" ]]; then
55
- PREFIX="kubeskoop-exporter-"
56
- VERSION=${TAG#$PREFIX}
57
- echo "latest tag:$TAG,version:$VERSION"
58
- echo "VERSION=$VERSION" >> $GITHUB_ENV
59
- echo "RELEASE_TAG=$TAG" >> $GITHUB_ENV
60
- else
61
- echo "没有找到符合要求的tag"
62
- fi
63
-
64
- -
uses :
dev-drprasad/[email protected]
65
- with :
66
- tag_name : ${{ env.RELEASE_TAG }}
67
- github_token : ${{ secrets.GITHUB_TOKEN }}
68
- delete_release : true # (optional) default: true
69
44
70
45
release-chart :
71
46
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments