diff --git a/.github/workflows/tags.yml b/.github/workflows/tags.yml index e10b65b..133f1ef 100644 --- a/.github/workflows/tags.yml +++ b/.github/workflows/tags.yml @@ -21,5 +21,7 @@ jobs: TAG_VERSION: ${{ github.ref_name }} run: | go build -v -o ./bin/ddnser-$TAG_VERSION ./cmd/... - curl --user $USERNAME:$TOKEN --upload-file ./bin/ddnser-$TAG_VERSION http://10.0.0.171/api/packages/$USERNAME/go/upload + rm -rf .git/ + find -type f | while read f; do zip ddnser-$TAG_VERSION.zip "$f"; done + curl --user $USERNAME:$TOKEN --upload-file ./ddnser-$TAG_VERSION.zip http://10.0.0.171/api/packages/$USERNAME/go/upload