Skip to content

Commit

Permalink
[DBP-502] Bump languagepack version to 4.1 and updating the notarization
Browse files Browse the repository at this point in the history
path in languagepack OSX build script
  • Loading branch information
agarwal-kritika committed Nov 9, 2023
1 parent 8ff6685 commit f340f1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion languagepack/build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,11 @@ _postprocess_languagepack_osx() {
scp $PG_SSH_OSX:$PG_PATH_OSX/output/edb-languagepack-$PG_VERSION_LANGUAGEPACK-$PG_BUILDNUM_LANGUAGEPACK-${BUILD_FAILED}osx.* $WD/output || _die "Failed to copy installers to $WD/output."

# Notarize the OS X installer
ssh $PG_SSH_OSX_NOTARY "mkdir -p $PG_PATH_OSX_NOTARY; cp $PG_PATH_OSX_SIGN/settings.sh $PG_PATH_OSX_NOTARY; cp $PG_PATH_OSX_SIGN/common.sh $PG_PATH_OSX_NOTARY" || _die "Failed to create $PG_PATH_OSX_NOTARY"
ssh $PG_SSH_OSX_NOTARY "mkdir -p $PG_PATH_OSX_NOTARY" || _die "Failed to create $PG_PATH_OSX_NOTARY"

# Copy the settings.sh and common.sh to notary server
scp ../settings.sh ../common.sh $PG_SSH_OSX_NOTARY:$PG_PATH_OSX_NOTARY || _die "Failed to copy common.sh and settings.sh to $PG_PATH_OSX_NOTARY"

ssh $PG_SSH_OSX_NOTARY "cd $PG_PATH_OSX_NOTARY; rm -rf edb-languagepack-*.dmg edb-languagepack-*.zip" || _die "Failed to remove the installer from notarization installer directory"
scp $WD/output/edb-languagepack-$PG_VERSION_LANGUAGEPACK-$PG_BUILDNUM_LANGUAGEPACK-${BUILD_FAILED}osx.dmg $WD/output/edb-languagepack-$PG_VERSION_LANGUAGEPACK-$PG_BUILDNUM_LANGUAGEPACK-${BUILD_FAILED}osx.zip $PG_SSH_OSX_NOTARY:$PG_PATH_OSX_NOTARY || _die "Failed to copy installers to $PG_PATH_OSX_NOTARY"
scp $WD/resources/notarize_apps.sh $PG_SSH_OSX_NOTARY:$PG_PATH_OSX_NOTARY || _die "Failed to copy notarize_apps.sh to $PG_PATH_OSX_NOTARY"
Expand Down
2 changes: 1 addition & 1 deletion versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PG_TARBALL_PLJAVA=1.4.0
PG_TARBALL_OPENSSL=1.1.1k
PG_TARBALL_ZLIB=1.2.8
PG_TARBALL_GEOS=3.8.1
PG_LP_VERSION=4.0
PG_LP_VERSION=4.1

# Build nums
PG_BUILDNUM_APACHEPHP=1
Expand Down

0 comments on commit f340f1e

Please sign in to comment.