Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically create the GitHub Release via GitHub Actions #167

Open
rwjblue opened this issue Nov 18, 2020 · 0 comments
Open

Automatically create the GitHub Release via GitHub Actions #167

rwjblue opened this issue Nov 18, 2020 · 0 comments

Comments

@rwjblue
Copy link
Owner

rwjblue commented Nov 18, 2020

Instead of creating the release locally (during release-it's pipeline), we should create a .github/workflows/release.yml that effectively does:

on:
  push:
    # Sequence of patterns matched against refs/tags
    tags:
      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Create Release

jobs:
  release:
    name: Create Release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Create Release
        id: create_release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ github.ref }}
          release_name: Release ${{ github.ref }}
          bodyPath: ./somepath.md
          draft: false
          prerelease: false

This helps reduce the extra setup requirements (having a $GITHUB_AUTH).

rwjblue added a commit to tildeio/ember-element-helper that referenced this issue Nov 18, 2020
Since it isn't possible to populate the changelogs properly (yet), the
GH release will be created locally instead.

This should be brought back once
rwjblue/create-rwjblue-release-it-setup#167
lands and provides a way to generate the `bodyPath` for us.
rwjblue added a commit to tildeio/ember-element-helper that referenced this issue Jun 14, 2021
Since it isn't possible to populate the changelogs properly (yet), the
GH release will be created locally instead.

This should be brought back once
rwjblue/create-rwjblue-release-it-setup#167
lands and provides a way to generate the `bodyPath` for us.
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

No branches or pull requests

1 participant