Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Remove changelog generation from release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Jul 6, 2021
1 parent de05273 commit 9e71757
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}

0 comments on commit 9e71757

Please sign in to comment.