diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fcdb5d2c3e6..896c964586b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -292,7 +292,8 @@ jobs: - '-u all' env_polluting_tests: - test_set - skips: [] + skips: + - test_asyncio timeout: 50 - os: ubuntu-latest extra_test_args: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 703b2acb9ef..f3e97f481b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -184,16 +184,31 @@ jobs: RELEASE_TYPE_NAME=Pre-Release PRERELEASE_ARG=--prerelease fi - + today=$(date '+%Y-%m-%d') + + # Generate a concise changelog (last 50 non-merge commits) to stay under the 125k character limit + echo "## What's Changed" > /tmp/release_notes.md + PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "") + if [ -n "$PREV_TAG" ]; then + git log --oneline --no-merges ${PREV_TAG}..HEAD | head -n 50 >> /tmp/release_notes.md + else + git log --oneline --no-merges | head -n 50 >> /tmp/release_notes.md + fi + echo "" >> /tmp/release_notes.md + if [ -n "$PREV_TAG" ]; then + echo "**Full Changelog**: https://github.com/${GITHUB_REPOSITORY}/compare/${PREV_TAG}...${tag}" >> /tmp/release_notes.md + else + echo "**Full Changelog**: https://github.com/${GITHUB_REPOSITORY}/commits/${tag}" >> /tmp/release_notes.md + fi + gh release create "$today-$tag-$run" \ - --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-* + --repo="$GITHUB_REPOSITORY" \ + --title="RustPython $RELEASE_TYPE_NAME $today-$tag #$run" \ + --target="$tag" \ + --notes-file /tmp/release_notes.md \ + "$PRERELEASE_ARG" \ + bin/rustpython-release-* env: GH_TOKEN: ${{ github.token }} tag: ${{ github.ref_name }}