From 9e71757fa6ca8e62ac20096da60b916a40329e2f Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 6 Jul 2021 11:13:08 +0200 Subject: [PATCH] Remove changelog generation from release workflow --- .github/workflows/release.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a66cc55..7437cb1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -206,26 +206,6 @@ jobs: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc cp ~/.npmrc .npmrc jlpm release:npm --dist ./pkgs - - name: Get the current tag - id: current_tag - run: | - tag=`git describe --abbrev=0 --tags $(git rev-list --tags --max-count=1)` - echo "::set-output name=tag::${tag}" - - name: Get the previous tag - id: previous_tag - run: | - tag=`git describe --abbrev=0 --tags $(git rev-list --tags --skip=1 --max-count=1)` - echo "::set-output name=tag::${tag}" - - name: Generate Changelog - env: - CHANGELOG_GITHUB_TOKEN: ${{ secrets.CHANGELOG_GITHUB_TOKEN }} - run: | - docker run --rm -v "$(pwd)":/usr/local/src/your-app \ - -e CHANGELOG_GITHUB_TOKEN=${CHANGELOG_GITHUB_TOKEN} \ - ferrarimarco/github-changelog-generator \ - github_changelog_generator -u jupyterlab -p retrolab --usernames-as-github-logins --no-issues --no-unreleased \ - --since-tag ${{ steps.previous_tag.outputs.tag }} --header "" --pr-label "## Changes" - head -n -1 CHANGELOG.md > CHANGELOG - name: Create Release id: create_release uses: actions/create-release@v1 @@ -234,8 +214,6 @@ jobs: with: tag_name: ${{ github.ref }} release_name: ${{ github.ref }} - body_path: CHANGELOG # TODO: set to false? draft: true prerelease: ${{ contains(github.ref, 'a') || contains(github.ref, 'b') || contains(github.ref, 'rc') }} -