Opensauce 🥫

Steps involved in preparing a repository to be open sourced.

Before you begin

  1. Install Go
  2. Install addlicense binary to your Go bin (it's a modified version of this to support MPL)
  3. cp ./addlicense $GOPATH/bin/

Steps

1. Update file exclusions

Update ./exclude with the file patterns to exclude from the release.

2. Copy code

rsync -av --exclude-from ./exclude SOURCE DESTINATION

  • SOURCE - repository path to copy files from
  • DESTINATION - path to copy files to

3. Add license header

addlicense -l mpl DESTINATION

  • DESTINATION - path files were copied to in step 2

4. Version

TODO

5. Zip

TODO