Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: fix release build #1419

Merged
merged 1 commit into from
Jun 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/release-tiup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ jobs:
fi
echo ::set-output name=REL_VER::$REL_VER

BUILD_FLAGS='-trimpath -buildmode=pie' make build ctl && echo "Build success."
BUILD_FLAGS='-trimpath -buildmode=pie' make build && \
BUILD_FLAGS='-trimpath -buildmode=pie' make ctl && \
echo "Build success."

checksum_file=checksum.${{ matrix.os }}-${{ matrix.arch }}.txt
checksum_header="TiUP $REL_VER (${actor}@${event}) ${{ github.run_id }}"
Expand All @@ -116,7 +118,6 @@ jobs:
wget -O $TMP_DIR/tiup-linux-amd64.tar.gz -q https://tiup-mirrors.pingcap.com/tiup-linux-amd64.tar.gz
tar -zxf $TMP_DIR/tiup-linux-amd64.tar.gz -C $TIUP_HOME/bin && chmod 755 $TIUP_HOME/bin/tiup
curl -s https://tiup-mirrors.pingcap.com/root.json -o $TIUP_HOME/bin/root.json
$TIUP_HOME/bin/tiup update --self

mkdir -p package
cp $TIUP_HOME/bin/root.json bin/root.json
Expand Down