mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Bundle Lib directory in GitHub releases (#6497)
* Initial plan * Add Lib directory archives to release workflow Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com> * Add release notes explaining users need both binary and Lib archive Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com> * Remove unnecessary --notes-start-tag parameter Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com> * Only create zip archive, remove tar.gz Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
This commit is contained in:
1 parent
7ebb0f0c5c
commit
ebdc033c59
1 file changed
+7
@@ -144,6 +144,8 @@ jobs:
|
||||
if: ${{ github.repository == 'RustPython/RustPython' || github.event_name != 'schedule' }}
|
||||
needs: [build, build-wasm]
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.1
|
||||
|
||||
- name: Download Binary Artifacts
|
||||
uses: actions/download-artifact@v7.0.0
|
||||
with:
|
||||
@@ -151,6 +153,10 @@ jobs:
|
||||
pattern: rustpython-*
|
||||
merge-multiple: true
|
||||
|
||||
- name: Create Lib Archive
|
||||
run: |
|
||||
zip -r bin/rustpython-lib.zip Lib/
|
||||
|
||||
- name: List Binaries
|
||||
run: |
|
||||
ls -lah bin/
|
||||
@@ -174,6 +180,7 @@ jobs:
|
||||
--repo="$GITHUB_REPOSITORY" \
|
||||
--title="RustPython $RELEASE_TYPE_NAME $today-$tag #$run" \
|
||||
--target="$tag" \
|
||||
--notes "⚠️ **Important**: To run RustPython, you must download both the binary for your platform AND the \`rustpython-lib.zip\` archive. Extract the Lib directory from the archive to the same location as the binary, or set the \`RUSTPYTHONPATH\` environment variable to point to the Lib directory." \
|
||||
--generate-notes \
|
||||
$PRERELEASE_ARG \
|
||||
bin/rustpython-release-*
|
||||
Reference in new issue
Block a user