File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # This creates a Keybase release on github from the current source/tagged version.
3+ # This creates a KBFS (beta) release on github from the current source/tagged version.
44
55set -e -u -o pipefail # Fail on error
66
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ echo "Loading release tool"
1515go install github.com/keybase/client/go/tools/release
1616release_bin=" $GOPATH /bin/release"
1717
18- version=$ VERSION
18+ version=" ${ VERSION:- } "
1919if [ " $version " = " " ]; then
2020 version=` $release_bin --repo=client latest-version`
2121fi
Load diff This file was deleted.
Load diff This file was deleted.
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e -u -o pipefail # Fail on error
4+
5+ dir=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd )
6+ cd " $dir "
7+
8+ build_dir_keybase=" /tmp/build_keybase"
9+ build_dir_kbfs=" /tmp/build_kbfs"
10+
11+ BUILD_DIR=$build_dir_keybase ./build_keybase.sh
12+ BUILD_DIR=$build_dir_kbfs ./build_kbfs.sh
13+
14+ cd $dir /../desktop
15+ save_dir=" /tmp/build_desktop"
16+ SAVE_DIR=$save_dir KEYBASE_BINPATH=" $build_dir_keybase /keybase" KBFS_BINPATH=" $build_dir_kbfs /kbfs" ./package_darwin.sh
17+
18+ s3cmd sync --skip-existing $save_dir /* s3://keybase-app/
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e -u -o pipefail # Fail on error
4+
5+ dir=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd )
6+ cd " $dir "
7+
8+ build_dir=${BUILD_DIR:-/ tmp/ build_kbfs}
9+ mkdir -p $build_dir
10+
11+ repodir=" $GOPATH /src/github.com/keybase/kbfs"
12+ cd $repodir
13+
14+ # This might be different for linux, e.g. date -d @$(git log -n1 --format="%at") +%Y%m%d%H%M%S`
15+ date_last_commit=` date -r $( git log -n1 --format=" %at" ) +%Y%m%d%H%M%S`
16+ commit_short=` git log -1 --pretty=format:%h`
17+ build=" $date_last_commit +$commit_short "
18+
19+ echo " Building kbfs"
20+ GO15VENDOREXPERIMENT=0 go get github.com/keybase/kbfs/kbfsfuse
21+ GO15VENDOREXPERIMENT=0 go build -a -tags " production" -ldflags " -X github.com/keybase/kbfs/libkbfs.CustomBuild=$build " -o $build_dir /kbfs github.com/keybase/kbfs/kbfsfuse
22+
23+ kbfs_version=` $build_dir /kbfs -version`
24+ echo " KBFS version: $kbfs_version "
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e -u -o pipefail # Fail on error
4+
5+ dir=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd )
6+ cd " $dir "
7+
8+ build_dir=${BUILD_DIR:-/ tmp/ build_keybase}
9+ mkdir -p $build_dir
10+
11+ # This might be different for linux, e.g. date -d @$(git log -n1 --format="%at") +%Y%m%d%H%M%S`
12+ date_last_commit=` date -r $( git log -n1 --format=" %at" ) +%Y%m%d%H%M%S`
13+ commit_short=` git log -1 --pretty=format:%h`
14+ build=" $date_last_commit +$commit_short "
15+
16+ echo " Building keybase"
17+ GO15VENDOREXPERIMENT=1 go build -a -tags " production" -ldflags " -X github.com/keybase/client/go/libkb.CustomBuild=$build " -o $build_dir /keybase github.com/keybase/client/go/keybase
18+
19+ version=` $build_dir /keybase version -S`
20+ echo " Keybase version: $version "
21+
22+ echo " Building kbfs"
23+ GO15VENDOREXPERIMENT=0 go get github.com/keybase/kbfs/kbfsfuse
24+ GO15VENDOREXPERIMENT=0 go build -a -tags " production" -ldflags " -X github.com/keybase/kbfs/libkbfs.CustomBuild=$build " -o $build_dir /kbfs github.com/keybase/kbfs/kbfsfuse
25+
26+ kbfs_version=` $build_dir /kbfs -version`
27+ echo " KBFS version: $kbfs_version "
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ set -e -u -o pipefail # Fail on error
55dir=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd )
66cd " $dir "
77
8+ # For Keybase
9+ # "$GOPATH/src/github.com/keybase/client/" "$GOPATH/src/github.com/keybase/client/go/libkb/version.go" "client" "libkb" $@
10+
11+ # For KBFS
12+ # "$GOPATH/src/github.com/keybase/kbfs/" "$GOPATH/src/github.com/keybase/kbfs/libkbfs/version.go" "kbfs" "libkbfs" $@
13+
814repodir=${1:- $GOPATH / src/ github.com/ keybase/ client}
915version_file=${2:- $repodir / go/ libkb/ version.go}
1016repo=${3:- client}
You can’t perform that action at this time.
0 commit comments