Go client for the Fly.io API. This library is primarily used by flyctl but it can be used by any project that wants to automate its Fly.io deployment.
If you are making changes in another project and need to test fly-go
changes
locally, you can enable a Go workspace. For example, if you have a directory
structure like this:
superfly/
├── fly-go
└── flyctl
Then you can initialize a Go workspace in the superfly
parent directory and
add your project directories so that flyctl
can use your local fly-go
:
go work init
go work use ./flyctl
go work use ./fly-go
If you have write access to this repo, you can ship a release with:
scripts/bump_version.sh
Or a prerelease with:
scripts/bump_version.sh prerel
The release and notes will be created automatically via Github Actions. Follow along in: https://github.com/superfly/fly-go/actions/workflows/release.yml