Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Commit

Permalink
Fix that CI does not package windows binary
Browse files Browse the repository at this point in the history
When we building release binaries, 'CROSS=1' will be set to env
var. Fix conditional of $CROSS in package script.
  • Loading branch information
Yuxing authored and Craig Jellick committed Dec 8, 2017
1 parent a81bade commit d1e20ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ echo Created ../dist/artifacts/go-agent.tar.gz

popd

if [ "$CROSS" == "true" ]; then
if [ -n "$CROSS" ]; then
pushd build
mkdir -p rancher
cp ../bin/windows/amd64/agent.exe rancher/
Expand Down

0 comments on commit d1e20ce

Please sign in to comment.