diff --git a/scripts/unpack-releases.sh b/scripts/unpack-releases.sh index bbb6bb4..703afca 100755 --- a/scripts/unpack-releases.sh +++ b/scripts/unpack-releases.sh @@ -50,4 +50,4 @@ echo "Releases dir:" ls -lhrt # Go back to cwd -cd "{{CWD}}" +cd "$CWD" diff --git a/scripts/zip-release.sh b/scripts/zip-release.sh index 8c90390..e43f63a 100755 --- a/scripts/zip-release.sh +++ b/scripts/zip-release.sh @@ -43,7 +43,7 @@ cp "$TARGET_DIR/$BIN_NAME$BIN_EXT" staging/ cd staging # Zip the staging dir up -if [ "{{os_family()}}" = "windows" ]; then +if [ "$OS" = "windows" ]; then 7z a ../release.zip * else chmod +x "$BIN_NAME" @@ -51,5 +51,5 @@ else fi # Go back to cwd and clean up staging dir -cd "{{CWD}}" +cd "$CWD" rm -rf staging