[fix] gf cli build missing suffix
@@ -40,8 +40,10 @@ jobs:
run: |
cd cmd/gf/temp
for OS in *;do for FILE in $OS/*;\
- do mv $FILE gf_$OS && rm -rf $OS;\
- done;done
+ do if [[ ${OS} =~ 'windows' ]];\
+ then mv $FILE gf_$OS.exe && rm -rf $OS;\
+ else mv $FILE gf_$OS && rm -rf $OS;\
+ fi;done;done
- name: Create Github Release
id: create_release
