Skip to content

Commit

Permalink
Merge pull request #23 from bitnami/feature/latest-installbuilder
Browse files Browse the repository at this point in the history
[bitnami/bncert] Use latest InstallBuilder version
  • Loading branch information
gongomgra authored Jun 3, 2024
2 parents 29478a1 + 7f1329a commit ecc3e00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
env:
INSTALLBUILDER: installbuilder
INSTALLBUILDER_LICENSE: ${{ secrets.INSTALLBUILDER_LICENSE }}
INSTALLBUILDER_VERSION: ${{ secrets.INSTALLBUILDER_VERSION }}
steps:
- uses: actions/checkout@v3
- name: Download and install VMware InstallBuilder
- name: Download and install InstallBuilder
run: |
set -e
curl -sSL https://releases.installbuilder.com/installbuilder/installbuilder-qt-enterprise-$INSTALLBUILDER_VERSION-linux-x64-installer.run -o installbuilder.run
INSTALLBUILDER_VERSION=$(curl --fail https://installbuilder.com/VERSION)
curl --fail -sSL https://releases.installbuilder.com/installbuilder/installbuilder-qt-enterprise-$INSTALLBUILDER_VERSION-linux-x64-installer.run -o installbuilder.run
chmod a+x installbuilder.run
./installbuilder.run --prefix "$INSTALLBUILDER" --mode unattended
echo "$INSTALLBUILDER_LICENSE" > "${INSTALLBUILDER}/license.xml"
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ for arch in amd64 arm64; do
-e "s/@@VERSION@@/${VERSION}/g" \
-e "s/@@VERSION_ID@@/${VERSION_ID}/g" \
"output-${arch}"/{*,*/*}.*
# Build auto-updater tool with VMware InstallBuilder
# Build auto-updater tool with InstallBuilder
"${INSTALLBUILDER}/autoupdate/bin/customize.run" build "output-${arch}/bncert-auto-updater.xml" "$INSTALLBUILDER_TARGET"
cp "${INSTALLBUILDER}/autoupdate/output/autoupdate-${INSTALLBUILDER_TARGET}.run" "output-${arch}/autoupdater/autoupdate-${INSTALLBUILDER_TARGET}.run"

# Build tool with VMware InstallBuilder
# Build tool with InstallBuilder
"${INSTALLBUILDER}/bin/builder" build "output-${arch}/bncert.xml" "$INSTALLBUILDER_TARGET" --setvars \
project.version="$VERSION" \
project.versionId="$VERSION_ID" \
Expand Down

0 comments on commit ecc3e00

Please sign in to comment.