go-release.action icon indicating copy to clipboard operation
go-release.action copied to clipboard

adding option for disable compression

Open Deardrops opened this issue 6 years ago • 7 comments
trafficstars

I want to release the binary files without compression(tar.gz), can you add an option for disable compression?

Deardrops avatar Mar 24 '19 09:03 Deardrops

@Deardrops Why without .tar.gz is useful? Any special use case?

wangyoucao577 avatar Mar 07 '20 15:03 wangyoucao577

@wangyoucao577 Sometimes I want to release a exe file for windows users. But they may have no compression software installed in their computer. If I share a download link with tar.gz for them, they will have no idea how to use the tar.gz file.

Deardrops avatar Mar 07 '20 15:03 Deardrops

@Deardrops Do you think whether use .zip instead of .tar.gz can solve your problem? If raw .exe, many security softwares may alert issue, and will delete files silently...

wangyoucao577 avatar Mar 07 '20 15:03 wangyoucao577

@wangyoucao577 good idea!

Deardrops avatar Mar 07 '20 15:03 Deardrops

@Deardrops One more question, what's your Go version? I may implement it in my project, but may not support too old Gos.

wangyoucao577 avatar Mar 07 '20 15:03 wangyoucao577

@wangyoucao577 go 1.11 when I open this issue, but I think my tiny project could upgrade to go1.14 successfully.

Deardrops avatar Mar 07 '20 16:03 Deardrops

@Deardrops Good. I have implemented it. Please have a try my latest action https://github.com/marketplace/actions/go-release-binaries, it'll release .zip instead of .tar.gz for windows. If any problem please create issue for it directly.
Enjoy!

wangyoucao577 avatar Mar 07 '20 17:03 wangyoucao577