From 2a78b6b9ea64a3b5b6811a14632144afe398499b Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Date: Fri, 9 Feb 2024 14:18:43 +0100 Subject: [PATCH] Dat 16880 (#164) * fix(get_draft_release.sh): add logging statements to print GITHUB_REPOSITORY and RELEASE variables for debugging purposes fix(upload_asset.sh): add logging statements to print UPLOAD_URL, file size, and content type for debugging purposes * chore(extension-attach-artifact-release.yml): update script file URLs to point to the correct branch (DAT-16880) in the liquibase/build-logic repository * chore(get_draft_release.sh): add debug log to print GENERATED_UPLOAD_URL chore(upload_asset.sh): add debug log to print _DIR and UPLOAD_URL * refactor(get_draft_release.sh): remove unnecessary echo statement and add newline at the end of file for consistency * fix(get_draft_release.sh): remove unnecessary echo statements for debugging purposes * refactor(upload_asset.sh): remove unnecessary echo statement The echo statement printing the value of the _DIR variable is removed as it is not needed for the functionality of the script. * chore(extension-attach-artifact-release.yml): update script file URLs to use the latest version of build-logic repository The script files used in the workflow were outdated and needed to be updated to the latest version of the build-logic repository. This ensures that the workflow uses the most up-to-date scripts for attaching artifacts and uploading zip files to draft releases. * chore(extension-attach-artifact-release.yml): update script file URLs to point to the correct branch (DAT-16880) in the liquibase/build-logic repository * refactor(upload_asset.sh): remove unnecessary echo statements for file upload details The echo statements for file upload details were removed as they were not providing any useful information and were cluttering the output. * refactor(upload_asset.sh): remove unnecessary empty line to improve code readability * chore(extension-attach-artifact-release.yml): update script file URLs to use version v0.6.1 of build-logic repository for better stability and compatibility * fix(get_draft_release.sh): fix jq command to extract upload_url from RELEASE JSON object * fix(extension-release-published.yml): add conditional check to deploy_xsd job to only run if nameSpace input is not empty --- .github/workflows/extension-release-published.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/extension-release-published.yml b/.github/workflows/extension-release-published.yml index d238e9dc..e6960efa 100644 --- a/.github/workflows/extension-release-published.yml +++ b/.github/workflows/extension-release-published.yml @@ -146,6 +146,7 @@ jobs: -Dclassifiers=,sources,javadoc, deploy_xsd: + if: inputs.nameSpace != '' name: Upload xsds runs-on: ubuntu-20.04 steps: