A simple bash script for building Go projects for multiple platforms π»πΎ
release.sh is a tool that makes it easy to build Go projects for multiple platforms. Build your Go app release binaries for all the platforms that matter in just a moment.
./release.sh --name [app name] --version [version]
To use release.sh, simply run it from the command line with the --name
and --version
arguments. For example:
./release.sh --name "myapp" --version "1.0.0"
This will build your Go project for the available targets and output the resulting binaries to the /BUILDS/ directory with the specified names.
To install release.sh, just put it in a folder in your path, like /usr/local/bin
, or /usr/bin
for the truly adventurous :)
To view the man page for release.sh, run the following command:
man ./release.sh
or ./release.sh --help
This app is licensed under the MIT software license.
Release.sh is welcoming contributions to the project! If you have an idea for a new feature or have found a bug, please open an issue on the GitHub repository. If you want to implement a new feature or fix a bug yourself, please follow these steps:
- Fork the repository
- Create a new branch for your changes
- Make your changes and commit them to your branch
- Open a pull request from your branch to the
master
branch of the repository
Thank you for your support!