Skip to content

Commit

Permalink
feat(make-release): remove Rollbar token
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneM committed Jul 21, 2022
1 parent f6e2799 commit c1eadbd
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions dists/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ fi
bin_dir="bin/$VERSION"
mkdir -p $bin_dir

read -p "Which Rollbar token should be used in this release: " ROLLBAR_TOKEN
if [[ -z $ROLLBAR_TOKEN ]]; then
echo "Rollbar token is mandatory" >&2
exit 2
fi

function build_for() {
local os=$1
local archive_type=$2
Expand All @@ -48,8 +42,7 @@ function build_for() {
GOOS=$os GOARCH=$arch go build -ldflags " \
-X main.buildstamp=$(date -u '+%Y-%m-%d_%I:%M:%S%p') \
-X main.githash=$(git rev-parse HEAD) \
-X main.VERSION=$VERSION \
-X github.com/Scalingo/cli/config.RollbarToken=$ROLLBAR_TOKEN"
-X main.VERSION=$VERSION"

release_dir="scalingo_${VERSION}_${os}_${arch}"
archive_dir="$bin_dir/$release_dir"
Expand Down

0 comments on commit c1eadbd

Please sign in to comment.