File tree Expand file tree Collapse file tree
packages/windows-connector Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments