Skip to content

Commit

Permalink
fix release tool paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaxim committed Jan 8, 2024
1 parent f5d0ec0 commit 372850c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion keybot/winbot.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func (d *winbot) Run(bot *slackbot.Bot, channel string, args []string) (string,
bucketName = "prerelease.keybase.io"
}
sendLogCmd := exec.Command(
path.Join(os.Getenv("GOPATH"), "src/github.com/keybase/release/release.exe"),
path.Join(os.Getenv("GOPATH"), "src/github.com/keybase/client/go/release/release.exe"),
"save-log",
"--maxsize=5000000",
"--bucket-name="+bucketName,
Expand Down
2 changes: 1 addition & 1 deletion scripts/dumplog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd "$dir"

client_dir="$dir/../../client"
echo "Loading release tool"
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/release")
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/client/go/release")
release_bin="$GOPATH/bin/release"

url=`"$release_bin" save-log --bucket-name=$BUCKET_NAME --path="$READ_PATH"`
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.broken.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd "$dir"

client_dir="$dir/../../client"
echo "Loading release tool"
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/release")
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/client/go/release")
release_bin="$GOPATH/bin/release"

"$release_bin" broken-release --release="$BROKEN_RELEASE" --bucket-name="$BUCKET_NAME" --platform="$PLATFORM"
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd "$dir"

client_dir="$dir/../../client"
echo "Loading release tool"
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/release")
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/client/go/release")
release_bin="$GOPATH/bin/release"

dryrun=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bucket_name=${BUCKET_NAME:-"prerelease.keybase.io"}
: ${SCRIPT_PATH:?"Need to set SCRIPT_PATH to run script"}

echo "Loading release tool"
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/release")
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/client/go/release")
release_bin="$GOPATH/bin/release"

err_report() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/smoketest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd "$dir"

client_dir="$dir/../../client"
echo "Loading release tool"
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/release")
(cd "$client_dir/go/buildtools"; go install "github.com/keybase/client/go/release")
release_bin="$GOPATH/bin/release"

"$release_bin" set-build-in-testing --build-a="$SMOKETEST_BUILD_A" --platform="$PLATFORM" --enable="$SMOKETEST_ENABLE" --max-testers="$SMOKETEST_MAX_TESTERS"
Expand Down

0 comments on commit 372850c

Please sign in to comment.