Skip to content

Commit

Permalink
update package script for new version and new filename format
Browse files Browse the repository at this point in the history
  • Loading branch information
ironsheep committed Sep 17, 2024
1 parent a85b9c7 commit 60104c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts-pkg/cs_zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SCRIPT=${0##*/}
SCRIPT_VERSION="1.0"

# v1.43.0
BUILD_VERSION="014300"
BUILD_VERSION="014301"


# =============================================================================
Expand Down Expand Up @@ -187,7 +187,7 @@ for base_dir in "${base_dirs[@]}"; do
if [ ${#subfolders[@]} -eq 2 ]; then
for subfolder in "${subfolders[@]}"; do
folder_name=$(basename "$subfolder")
output_zip="${out_dir}/${folder_name}-${BUILD_VERSION}.zip"
output_zip="${out_dir}/pnut-ts-${folder_name}-${BUILD_VERSION}.zip"

# Zip the contents of the folder
zip_folder_contents "$subfolder" "$output_zip"
Expand Down
6 changes: 3 additions & 3 deletions scripts-pkg/cs_zip_dmgs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SCRIPT=${0##*/}
SCRIPT_VERSION="1.0"

# v1.43.0
BUILD_VERSION="014300"
BUILD_VERSION="014301"

# Store the original directory
original_dir=$(pwd)
Expand All @@ -18,8 +18,8 @@ fi

arm64_dmg="_unzipped/macos/macos-arm64.dmg"
x64_dmg="_unzipped/macos/macos-x64.dmg"
arm64_zip="_UPLOAD/macos-arm64-${BUILD_VERSION}.zip"
x64_zip="_UPLOAD/macos-x64-${BUILD_VERSION}.zip"
arm64_zip="_UPLOAD/pnut-ts-macos-arm64-${BUILD_VERSION}.zip"
x64_zip="_UPLOAD/pnut-ts-macos-x64-${BUILD_VERSION}.zip"

(set -x;ditto -ck --norsrc "$arm64_dmg" "$arm64_zip")
(set -x;ditto -ck --norsrc "$x64_dmg" "$x64_zip")
Expand Down

0 comments on commit 60104c6

Please sign in to comment.