diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 260002ed..34ac6baf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,7 +86,10 @@ jobs: MINOR_VERSION=$(grep "MINOR_VERSION" ${file} | cut -d'=' -f2) PATCH_VERSION=$(grep "PATCH_VERSION" ${file} | cut -d'=' -f2) echo "version=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION" >> $GITHUB_ENV - mv tableau-connector/target/neptune-jdbc.taco tableau-connector/target/neptune-jdbc-$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION.taco + if [ -f "tableau-connector/target/neptune-jdbc.taco" ]; then + mv tableau-connector/target/neptune-jdbc.taco tableau-connector/target/neptune-jdbc-$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION.taco + fi +# mv tableau-connector/target/neptune-jdbc.taco tableau-connector/target/neptune-jdbc-$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION.taco - name: "Configure AWS credentials" if: ${{env.SIGNING_ENABLED == 'true'}} diff --git a/tableau-connector/build.sh b/tableau-connector/build.sh index fc7318c8..c78df117 100644 --- a/tableau-connector/build.sh +++ b/tableau-connector/build.sh @@ -19,14 +19,14 @@ docker build -t taco-builder $CURRENT_FOLDER --progress=plain --no-cache echo "Assembling Tableau Connector" docker run -d -it --name=taco-builder --mount type=bind,source=$TARGET_FOLDER,target=/output taco-builder echo "Copying Tableau Connector" -docker exec taco-builder sh -c "cp /tableau-sdk/connector-plugin-sdk/connector-packager/packaged-connector/neptune-jdbc.taco /output" +docker exec taco-builder sh -c "cp /tableau-sdk/connector-plugin-sdk/connector-packager/packaged-connector/neptune-jdbc-v3.0.2.taco /output" echo "Verifying Tableau Connector" docker exec taco-builder sh -c "ls -l /output" docker exec taco-builder pwd echo "Getting Logs" docker cp taco-builder:/tableau-sdk/connector-plugin-sdk/connector-packager/packaging_logs.txt $TARGET_FOLDER echo "Extracting Tableau Connector" -docker cp taco-builder:/output/neptune-jdbc.taco $TARGET_FOLDER +docker cp taco-builder:/output/neptune-jdbc-v3.0.2.taco $TARGET_FOLDER echo "Checking Logs and Resulting TACO FILE in $TARGET_FOLDER" ls -l $TARGET_FOLDER docker stop taco-builder