Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

flynn-archive/flynn-cli-dist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flynn-cli-dist

A suite of tools for building flynn-cli, generating binary diffs, and distributing them for updates.

Prerequisites

install godep to manage dependencies:

$ go get github.com/kr/godep

environment

DISTURL (build)

url for the flynn-cli directory server (e.g. https://flynn-cli.herokuapp.com)

S3DISTURL (build, gen, web)

url for the S3 bucket for distributing full flynn-cli binaries (e.g. https://flynn-cli-dist.s3.amazonaws.com/)

S3PATCHURL (gen)

url for the S3 bucket for distributing patches (e.g. https://flynn-cli-patch.s3.amazonaws.com/)

S3_ACCESS_KEY (build, gen), S3_SECRET_KEY (build, gen)

aws iam credentials

BUILDNAME (build)

the name of the binary to build (e.g. "flynn")

BUILDBRANCH (build)

the name of the git branch to build from (e.g. "master")

DATABASE_URL (web)

postgres:// url

PORT (web)

which tcp port to listen on

HKGENAPPNAME (build)

the name of the heroku app to generate diffs with

Creating a new release

To release a new version of flynn-cli:

  1. make a gpg-signed git tag of the form vYYYYMMDD or vYYYYMMDD.N

    $ git tag -sam "added a new feature" vYYYYMMDD
  2. push the release branch to that tag on github

    $ git co release
    $ git reset --hard vYYYYMMDD
    $ git push origin release
  3. run flynn-cli-dist build to build for all platforms and generate diffs

    ## Export environment variables for target build ##
    $ flynn-cli-dist build
      ...

Credits

This is a fork of Heroku's hkdist.

About

flynn-cli distribution tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors