Skip to content

Commit

Permalink
build: build release binaries on travis and appveyor, not locally
Browse files Browse the repository at this point in the history
  • Loading branch information
ncw committed Sep 1, 2018
1 parent 8e2b326 commit a3fec7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ update:
GO111MODULE=on go tidy
GO111MODULE=on go vendor

doc: rclone.1 MANUAL.html MANUAL.txt
doc: rclone.1 MANUAL.html MANUAL.txt rcdocs commanddocs

rclone.1: MANUAL.md
pandoc -s --from markdown --to man MANUAL.md -o rclone.1
Expand Down Expand Up @@ -194,12 +194,9 @@ ifndef BRANCH_PATH
endif
@echo Beta release ready at $(BETA_URL)

# Fetch the windows builds from appveyor
fetch_windows:
rclone -v copy --include 'rclone-v*-windows-*.zip' $(BETA_UPLOAD) build/
-#cp -av build/rclone-v*-windows-386.zip build/rclone-current-windows-386.zip
-#cp -av build/rclone-v*-windows-amd64.zip build/rclone-current-windows-amd64.zip
md5sum build/rclone-*-windows-*.zip | sort
# Fetch the binary builds from travis and appveyor
fetch_binaries:
rclone -v sync $(BETA_UPLOAD) build/

serve: website
cd docs && hugo server -v -w
Expand Down
14 changes: 3 additions & 11 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,9 @@ Making a release
* git status - to check for new man pages - git add them
* git commit -a -v -m "Version v1.XX"
* make retag
* make release_dep
* # Set the GOPATH for a current stable go compiler
* make cross
* git checkout docs/content/commands # to undo date changes in commands
* git push --tags origin master
* git push --tags origin master:stable # update the stable branch for packager.io
* # Wait for the appveyor and travis builds to complete then fetch the windows binaries from appveyor
* make fetch_windows
* # Wait for the appveyor and travis builds to complete then...
* make fetch_binaries
* make tarball
* make sign_upload
* make check_sign
Expand All @@ -31,11 +26,8 @@ Making a release
* # announce with forum post, twitter post, G+ post

Early in the next release cycle update the vendored dependencies
* Review any pinned packages in Gopkg.toml and remove if possible
* Review any pinned packages in go.mod and remove if possible
* make update
* git status
* git add new files
* carry forward any patches to vendor stuff
* git commit -a -v

Make the version number be just in a file?

0 comments on commit a3fec7f

Please sign in to comment.