Skip to content

Conversation

@sayaliM0412
Copy link
Contributor

⏺ Summary of Changes

Problem: SDKMAN couldn't access the package URLs due to two issues:

  1. Double slash in URL (line 509): The URL construction was adding an extra / between WEB_URL and filename, creating invalid URLs like
    https://package.liquibase.com/downloads/oss//liquibase-5.0.0.zip
    - Fix: Removed the extra / separator in the curl command
  2. Incorrect path order (line 481): The URL paths didn't match the Scarf.sh route configuration
    - OSS: Was /downloads/sdkman/oss/ → Changed to /downloads/oss/sdkman/
    - Secure: Was /downloads/sdkman/secure/ → Changed to /downloads/secure/sdkman/
    - Fix: Reordered path segments to match the Scarf.sh "Desired path format" from your screenshots

These changes ensure SDKMAN receives valid, publicly accessible URLs through Scarf.sh that properly route to the S3-hosted packages.

@sayaliM0412
Copy link
Contributor Author

- Resolved conflict in package.yml SDKMAN step
- Combined DAT-20877 SDKMAN URL fixes with DAT-20985 liquibase-secure skip logic
- Kept continue-on-error: true to ensure other package managers continue if SDKMAN fails
@jnewton03 jnewton03 merged commit f6378e7 into main Oct 3, 2025
2 checks passed
@jnewton03 jnewton03 deleted the DAT-20877 branch October 3, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants