Building a gcsfuse release:
-
Choose the commit at which you want to build a release. Call it
123abcd
. -
Use a viewer like gitx to examine the changes between the previous release and
123abcd
. Write up release notes. -
Choose a new version number according to the rules of semantic versioning. Call it
v1.2.3
. -
Run
git tag -a v1.2.3 123abcd
. Put the release notes in the tag, formatting according to the standard set by previous tags. -
Push the tag with
git push origin v1.2.3
. -
On a CentOS VM (where
rpm-build
is available), build a Linux release:mkdir -p ~/tmp/release go build github.com/googlecloudplatform/gcsfuse/tools/build_release ./build_release --version 1.2.3 --commit 123abcd --output_dir ~/tmp/release --rpm
-
On an OS X machine, build an OS X release:
mkdir -p ~/tmp/release go build github.com/googlecloudplatform/gcsfuse/tools/build_release ./build_release --version 1.2.3 --commit 123abcd --output_dir ~/tmp/release
-
Create a new release on GitHub. Paste in the release notes and update the contents of
~/tmp/release
from the previous two steps. -
Find and replace in
docs/installing.md
to reference the new version number. For example:%s/1\.2\.2/1.2.3/gc