Skip to content

Commit df1f465

Browse files
author
suyash jain
committed
DLPX-17800 Publish standalone connector installer alongside the deb
PR URL: https://www.github.com/delphix/linux-pkg/pull/394
1 parent 69e204a commit df1f465

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

packages/windows-connector/config.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,15 @@ function build() {
3232
logmust cd "$INSTALLER_DIR"
3333
logmust sudo ../../gradlew createDebPackage
3434
logmust sudo mv ./build/distributions/*deb "$WORKDIR/artifacts/"
35+
#
36+
# Publish the standalone Windows connector installer with the connector version in its
37+
# filename so downstream publishing can nest it under a version directory.
38+
# The version is read from build.gradle (connectorVersion property). See DLPX-17800.
39+
#
40+
logmust test -f "$INSTALLER_DIR/build.gradle"
41+
connector_version=$(grep -oP "connectorVersion\s*=\s*'\K[^']+" \
42+
"$INSTALLER_DIR/build.gradle")
43+
logmust test -n "$connector_version"
44+
logmust sudo cp ./build/DelphixConnector/DelphixConnectorInstaller.exe \
45+
"$WORKDIR/artifacts/DelphixConnectorInstaller-${connector_version}.exe"
3546
}

0 commit comments

Comments
 (0)