Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
qiansheng91 committed Jul 30, 2023
1 parent 8e81649 commit db840b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_wrap.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export TOOL_VERSION=v0.4.0
export TOOL_VERSION=v0.5.0

go install github.com/qiansheng91/go-instrumentation-tool@${TOOL_VERSION}

Expand All @@ -11,7 +11,7 @@ fi
echo "back up go mod files"
[[ -f go.mod.bak ]] && cp go.mod go.mod.bak
[[ -f go.sum.bak ]] && cp go.sum go.sum.bak
[[ -f addition_deps.go]] && rm addition_deps.go
[[ -f addition_deps.go ]] && rm addition_deps.go

export INSTRUMENT_CONFIG_FILE=/tmp/configuration.yaml

Expand All @@ -24,5 +24,5 @@ else
echo "build package successfully"
[[ -f go.mod.bak ]] && cp go.mod.bak go.mod && rm go.mod.bak
[[ -f go.sum.bak ]] && cp go.sum.bak go.sum && rm go.sum.bak
[[ -f addition_deps.go]] && rm addition_deps.go
[[ -f addition_deps.go ]] && rm addition_deps.go
fi

0 comments on commit db840b3

Please sign in to comment.