Skip to content

Commit abdc23c

Browse files
committed
remove clean-assets phase in github action
Signed-off-by: xiayu.lyt <[email protected]>
1 parent da5e7f0 commit abdc23c

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.github/workflows/deploy.yml

-25
Original file line numberDiff line numberDiff line change
@@ -41,31 +41,6 @@ jobs:
4141
user_name: github-actions[bot]
4242
user_email: 41898282+github-actions[bot]@users.noreply.github.com
4343

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
6944

7045
release-chart:
7146
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)