Skip to content

Commit

Permalink
docs: update packaging script comments
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierChanth committed Dec 5, 2023
1 parent 7f27851 commit d2401e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions tools/package-macos-x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# It first unpacks the prebuilt binaries, then it calls the notarize-macos.sh
# script to notarize the binaries

# This script expects the path to the tgz archive as an argument

FULL_PATH_TO_SCRIPT="$(realpath "${BASH_SOURCE[0]}")"
SCRIPT_DIRECTORY="$(dirname "$FULL_PATH_TO_SCRIPT")"
ROOT_DIRECTORY="$SCRIPT_DIRECTORY/.."
Expand Down
9 changes: 6 additions & 3 deletions tools/package-windows-x64.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/bash

# This script is used to package the macOS x64 binaries for sshnoports.
# It first unpacks the prebuilt binaries, then it calls the notarize-macos.sh
# script to notarize the binaries
# This script is used to package the windows x64 binaries for sshnoports.
# It first unpacks the tgz archive of binaries, then it repacks them as a .zip
# This script requires that you do this packaging on a mac, since it is expected
# that you do it while notarizing the macos binaries to save time

# This script expects the path to the tgz archive as an argument

FULL_PATH_TO_SCRIPT="$(realpath "${BASH_SOURCE[0]}")"
SCRIPT_DIRECTORY="$(dirname "$FULL_PATH_TO_SCRIPT")"
Expand Down

0 comments on commit d2401e0

Please sign in to comment.