1
mirror of https://github.com/rclone/rclone synced 2024-11-07 04:16:58 +01:00
rclone/RELEASE.md

793 B

Required software for making a release

  • github-release for uploading packages
  • gox for cross compiling
    • Run gox -build-toolchain
    • This assumes you have your own source checkout
  • pandoc for making the html and man pages
  • errcheck - go get github.com/kisielk/errcheck
  • golint - go get github.com/golang/lint

Making a release

  • go get -t -u -f -v ./...
  • make check
  • make test
  • make tag
  • edit docs/content/changelog.md
  • make doc
  • git commit -a -v
  • make retag
  • Set the GOPATH for a gox enabled compiler - . ~/bin/go-cross - not required for go >= 1.5

  • make cross
  • make upload
  • make upload_website
  • git push --tags origin master
  • make upload_github