mirror of
https://github.com/veeso/termscp.git
synced 2026-09-12 15:16:01 -07:00
fixed make_pkg
This commit is contained in:
Vendored
+3
-2
@@ -7,12 +7,13 @@ make_pkg() {
|
|||||||
if [ -z "$TARGET_DIR" ]; then
|
if [ -z "$TARGET_DIR" ]; then
|
||||||
TARGET_DIR=target/release/
|
TARGET_DIR=target/release/
|
||||||
fi
|
fi
|
||||||
|
ROOT_DIR=$(pwd)
|
||||||
cd $TARGET_DIR
|
cd $TARGET_DIR
|
||||||
PKG="termscp-v${VERSION}-${ARCH}-apple-darwin.tar.gz"
|
PKG="termscp-v${VERSION}-${ARCH}-apple-darwin.tar.gz"
|
||||||
tar czf $PKG termscp
|
tar czf $PKG termscp
|
||||||
HASH=$(sha256sum $PKG)
|
HASH=$(sha256sum $PKG)
|
||||||
mkdir -p ../../dist/pkgs/macos/
|
mkdir -p ${ROOT_DIR}/dist/pkgs/macos/
|
||||||
mv $PKG ../../dist/pkgs/macos/$PKG
|
mv $PKG ${ROOT_DIR}/dist/pkgs/macos/$PKG
|
||||||
cd -
|
cd -
|
||||||
echo "$HASH"
|
echo "$HASH"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user