Skip to content

Commit

Permalink
Dat 16880 (#163)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jandroav authored Feb 9, 2024
1 parent 06f7e6b commit 9b4dc8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/get_draft_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ case $KEY in
echo "$HTML_URL" | rev | cut -d "/" -f1 | rev
;;
UPLOAD_URL)
UPLOAD_URL=$(echo $RELEASE | jq -r ".upload_url")
UPLOAD_URL=$(echo $RELEASE | jq -r 'first(.upload_url)')
echo "${UPLOAD_URL//{?name,label\}}"
;;
esac

0 comments on commit 9b4dc8c

Please sign in to comment.