Skip to content

Commit 1314b0a

Browse files
committed
pg_search: Add license to installer
1 parent 483731e commit 1314b0a

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

pg_search/build.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ for file in Resources/*.html distribution.xml
5757
do
5858
sed -e "s|@EXTENSION_VERSION@|${EXTENSION_VERSION}|g" -e "s|@PG_MAJOR_VERSION@|${PG_MAJOR_VERSION}|g" -e "s|@EXTENSION_NAME@|${EXTENSION_NAME}|g" $file > Build/$file
5959
done
60+
cp Build/paradedb-$EXTENSION_VERSION/LICENSE Build/Resources/license.txt
6061
pkgbuild --root "$INSTALL_ROOT" --install-location /Library/Application\ Support/Postgres/Extensions/$PG_MAJOR_VERSION/$EXTENSION_NAME --identifier com.postgresapp.extension.$PG_MAJOR_VERSION.$EXTENSION_NAME --sign "Developer ID Installer" --scripts Scripts $EXTENSION_NAME-$PG_MAJOR_VERSION.pkg
6162
productbuild --distribution Build/distribution.xml --resources Build/Resources --sign "Developer ID Installer" $EXTENSION_NAME-pg$PG_MAJOR_VERSION-$EXTENSION_VERSION.pkg
6263
rm $EXTENSION_NAME-$PG_MAJOR_VERSION.pkg

pg_search/distribution.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<installer-gui-script minSpecVersion="1">
33
<title>@EXTENSION_NAME@ for Postgres.app</title>
44
<welcome file="welcome.html"/>
5+
<license file="license.txt"/>
56
<conclusion file="conclusion.html"/>
67
<pkg-ref id="com.postgresapp.extension.@PG_MAJOR_VERSION@.@EXTENSION_NAME@"/>
78
<options customize="never" require-scripts="false" hostArchitectures="x86_64,arm64"/>

0 commit comments

Comments
 (0)