Skip to content

Commit

Permalink
DAT-16880



 DevOps :: Extensions failing during attach artifacts wo…
Browse files Browse the repository at this point in the history
…rkflow (#162)

* 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
  • Loading branch information
jandroav authored Feb 9, 2024
1 parent b7b6be7 commit 06f7e6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/upload_asset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ fi
_DIR=$(dirname "$0")
UPLOAD_URL=$($_DIR/get_draft_release.sh UPLOAD_URL)

echo "UPLOAD_URL: $UPLOAD_URL"

upload_asset() {
local file=$1
local size=$2
Expand Down

0 comments on commit 06f7e6b

Please sign in to comment.