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

71 lines
2.3 KiB
Markdown
Raw Normal View History

2017-03-18 12:16:43 +01:00
Extra required software for making a release
2015-02-04 23:31:56 +01:00
* [github-release](https://github.com/aktau/github-release) for uploading packages
* pandoc for making the html and man pages
Making a release
2017-01-02 15:38:14 +01:00
* git status - make sure everything is checked in
* Check travis & appveyor builds are green
2015-09-22 19:47:16 +02:00
* make check
* make test # see integration test server or run locally
2015-02-04 23:31:56 +01:00
* make tag
2015-06-06 16:45:00 +02:00
* edit docs/content/changelog.md
* make doc
2017-01-02 16:30:34 +01:00
* git status - to check for new man pages - git add them
* git commit -a -v -m "Version v1.XX"
2015-02-04 23:31:56 +01:00
* make retag
* git push --tags origin master
* # Wait for the appveyor and travis builds to complete then...
* make fetch_binaries
* make tarball
* make sign_upload
* make check_sign
2017-07-22 19:16:46 +02:00
* make upload
* make upload_website
* make upload_github
2017-03-18 12:30:04 +01:00
* make startdev
* # announce with forum post, twitter post, G+ post
2016-12-14 18:49:26 +01:00
Early in the next release cycle update the vendored dependencies
* Review any pinned packages in go.mod and remove if possible
2016-12-14 18:49:26 +01:00
* make update
* git status
* git add new files
* git commit -a -v
If `make update` fails with errors like this:
```
# github.com/cpuguy83/go-md2man/md2man
../../../../pkg/mod/github.com/cpuguy83/go-md2man@v1.0.8/md2man/md2man.go:11:16: undefined: blackfriday.EXTENSION_NO_INTRA_EMPHASIS
../../../../pkg/mod/github.com/cpuguy83/go-md2man@v1.0.8/md2man/md2man.go:12:16: undefined: blackfriday.EXTENSION_TABLES
```
Can be fixed with
* GO111MODULE=on go get -u github.com/russross/blackfriday@v1.5.2
* GO111MODULE=on go mod tidy
* GO111MODULE=on go mod vendor
Making a point release. If rclone needs a point release due to some
horrendous bug, then
* git branch v1.XX v1.XX-fixes
* git cherry-pick any fixes
* Test (see above)
* make NEW_TAG=v1.XX.1 tag
* edit docs/content/changelog.md
* make TAG=v1.43.1 doc
* git commit -a -v -m "Version v1.XX.1"
* git tag -d -v1.XX.1
* git tag -s -m "Version v1.XX.1" v1.XX.1
* git push --tags -u origin v1.XX-fixes
* make BRANCH_PATH= TAG=v1.43.1 fetch_binaries
* make TAG=v1.43.1 tarball
* make TAG=v1.43.1 sign_upload
* make TAG=v1.43.1 check_sign
* make TAG=v1.43.1 upload
* make TAG=v1.43.1 upload_website
* make TAG=v1.43.1 upload_github
* NB this overwrites the current beta so after the release, rebuild the last travis build
* Announce!