https://github.com/mikigal/golang-release-script
Simply script to cross-platform releasing via one command from CLI
https://github.com/mikigal/golang-release-script
build cross-platform go golang linux macos release windows
Last synced: about 1 month ago
JSON representation
Simply script to cross-platform releasing via one command from CLI
- Host: GitHub
- URL: https://github.com/mikigal/golang-release-script
- Owner: mikigal
- Created: 2019-02-17T23:26:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T02:35:41.000Z (about 6 years ago)
- Last Synced: 2025-02-06T02:44:35.269Z (3 months ago)
- Topics: build, cross-platform, go, golang, linux, macos, release, windows
- Language: Batchfile
- Size: 4.88 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# golang-release-script
Simply script to cross-platform releasing via one command from CLI. It build and zip binaries for all platforms, with version in zip name (if selected)For Unix and macOS use `releases.sh`, for Windows `releases.bat`.
Alternatively you can use `releases.py`, it works on Windows, Unix nad macOS, but require Python 2 or 3# How to use
Firsty you need to replace names of binaries and zips in script. Then you can use script
```bash
./release.sh [version number] # for Unix and macOS
release.bat [version number] # for Windows
python releases.py [version number] # Alternative version for every OS
```
If you want to add more platforms simply add it to script