File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,10 +132,10 @@ jobs:
132132 VERSION=${GITHUB_REF#refs/tags/}
133133 FILENAME=dubboctl-${VERSION}-${{ matrix.goos }}-${{ matrix.goarch }}
134134 if [ "${{ matrix.goos }}" = "windows" ]; then
135- zip -j ${FILENAME}.zip build/dubboctl
135+ zip -j ${FILENAME}.zip build/dubboctl/*
136136 echo "name=${FILENAME}.zip" >> $GITHUB_OUTPUT
137137 else
138- tar -czvf ${FILENAME}.tar.gz -C build/dubboctl .
138+ tar -czvf ${FILENAME}.tar.gz -C build/dubboctl/* .
139139 echo "name=${FILENAME}.tar.gz" >> $GITHUB_OUTPUT
140140 fi
141141
@@ -145,10 +145,10 @@ jobs:
145145 VERSION=${GITHUB_REF#refs/tags/}
146146 FILENAME=dubbo-cp-${VERSION}-${{ matrix.goos }}-${{ matrix.goarch }}
147147 if [ "${{ matrix.goos }}" = "windows" ]; then
148- zip -j ${FILENAME}.zip build/dubbo-cp
148+ zip -j ${FILENAME}.zip build/dubbo-cp/*
149149 echo "name=${FILENAME}.zip" >> $GITHUB_OUTPUT
150150 else
151- tar -czvf ${FILENAME}.tar.gz -C build/dubbo-cp .
151+ tar -czvf ${FILENAME}.tar.gz -C build/dubbo-cp/* .
152152 echo "name=${FILENAME}.tar.gz" >> $GITHUB_OUTPUT
153153 fi
154154
You can’t perform that action at this time.
0 commit comments