feat: binary installation script and checksum files#3680
Merged
Conversation
- Modified .github/workflows/release.yml to generate and upload SHA256 checksums for each binary platform during release - Added aggregate checksums job to create a single checksums file - Created install-pdm.sh script that downloads binaries from GitHub releases with automatic platform detection and checksum verification - Script supports optional checksum verification with --skip-checksum flag - Follows best practices for secure software distribution
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3680 +/- ##
=======================================
Coverage 85.96% 85.96%
=======================================
Files 119 119
Lines 12395 12395
Branches 2056 2056
=======================================
Hits 10655 10655
Misses 1165 1165
Partials 575 575
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
3cae021 to
2714459
Compare
Signed-off-by: Frost Ming <me@frostming.com>
2714459 to
fedb523
Compare
Signed-off-by: Frost Ming <me@frostming.com>
|
Getting the error
Command used for downloading: curl --proto '=https' --tlsv1.2 -sSLf https://pdm-project.org/install.sh | env PDM_VERSION='2.26.1' bash -sWorks fine when using the python script. Full outputroot@3a805cba878a:/# curl --proto '=https' --tlsv1.2 -sSLf https://pdm-project.org/install.sh | env PDM_VERSION='2.26.1' bash -s
PDM: Detecting platform...
Platform: x86_64-unknown-linux-gnu
PDM: Getting download URL for 2.26.1...
URL: https://github.com/pdm-project/pdm/releases/download/2.26.1/pdm-2.26.1-x86_64-unknown-linux-gnu.tar.gz
Install directory: /root/.local/bin
PDM: Downloading PDM from https://github.com/pdm-project/pdm/releases/download/2.26.1/pdm-2.26.1-x86_64-unknown-linux-gnu.tar.gz
PDM: Verifying checksum...
Error: Checksum verification failed!UpdateChecksum passes for v2.26.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
news/describing what is new.Describe what you have changed in this PR.