Skip to content

Commit

Permalink
Fix release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed Apr 2, 2024
1 parent 18b5d26 commit d1793c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/unpack-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ echo "Releases dir:"
ls -lhrt

# Go back to cwd
cd "{{CWD}}"
cd "$CWD"
4 changes: 2 additions & 2 deletions scripts/zip-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ 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"
zip ../release.zip *
fi

# Go back to cwd and clean up staging dir
cd "{{CWD}}"
cd "$CWD"
rm -rf staging

0 comments on commit d1793c2

Please sign in to comment.