mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-09-04 07:55:06 +00:00
Compare commits
1 Commits
v0.2.10-rc
...
v0.2.10-rc
Author | SHA1 | Date | |
---|---|---|---|
|
55e5418bd0 |
@@ -4,7 +4,7 @@ set -e
|
|||||||
source $(dirname $0)/version
|
source $(dirname $0)/version
|
||||||
|
|
||||||
OS_ARCH_ARG_LINUX="amd64 arm arm64"
|
OS_ARCH_ARG_LINUX="amd64 arm arm64"
|
||||||
OS_ARCH_ARG_DARWIN="amd64"
|
OS_ARCH_ARG_DARWIN="amd64 arm64"
|
||||||
|
|
||||||
LD_INJECT_VALUES="-X github.com/rancher/steve/pkg/version.Version=$VERSION
|
LD_INJECT_VALUES="-X github.com/rancher/steve/pkg/version.Version=$VERSION
|
||||||
-X github.com/rancher/steve/pkg/version.GitCommit=$COMMIT"
|
-X github.com/rancher/steve/pkg/version.GitCommit=$COMMIT"
|
||||||
@@ -40,7 +40,9 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for f in $(ls ./bin/); do
|
for f in $(ls ./bin/); do
|
||||||
upx -o $DAPPER_SOURCE/bin/$f bin/$f || true
|
if [[ $f != *darwin-arm64 ]]; then
|
||||||
|
upx -o $DAPPER_SOURCE/bin/$f bin/$f || true
|
||||||
|
fi
|
||||||
if [ -f $DAPPER_SOURCE/bin/$f ]; then
|
if [ -f $DAPPER_SOURCE/bin/$f ]; then
|
||||||
echo "UPX done!"
|
echo "UPX done!"
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user