Skip to content

Generate release notes on release #131

Description

@jiribenes

Here's the release CI:

release:
name: Create Release
runs-on: ubuntu-latest
needs: [build-vscode]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download VSCode artifact
uses: actions/download-artifact@v4
with:
name: effekt-vscode
path: distribution/
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_name: Release ${{ github.ref }}
tag_name: ${{ github.ref }}
body: Automatic release for ${{ github.ref }}
draft: false
prerelease: false
- name: Upload vsix file
id: upload_vsix
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./distribution/effekt.vsix
asset_name: effekt-vscode-extension.vsix
asset_content_type: application/zip

Compare with the one in the main repo which uses gh which can then check the git tag (as a sanity check) and generate release notes from the merged PRs:

https://github.com/effekt-lang/effekt/blob/7c3d95164902a329428945b2e83b37327c5d2c4a/.github/workflows/deploy.yml#L66-L107

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions