Skip to content

Commit

Permalink
fix: error archive on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Jan 28, 2022
1 parent 23b0954 commit d3b73f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ RELEASE_ASSET_FILE=${RELEASE_ASSET_NAME}${RELEASE_ASSET_EXT}
if [ ${INPUT_GOOS} == 'windows' ]; then
RELEASE_ASSET_EXT='.zip'
MEDIA_TYPE='application/zip'
RELEASE_ASSET_FILE=${RELEASE_ASSET_NAME}${RELEASE_ASSET_EXT}
( shopt -s dotglob; zip -vr ${RELEASE_ASSET_FILE} * )
else
( shopt -s dotglob; tar cvfz ${RELEASE_ASSET_FILE} * )
Expand Down

0 comments on commit d3b73f8

Please sign in to comment.