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

Commit

Permalink
Merge pull request #141 from meeseeksmachine/auto-backport-of-pr-140-…
Browse files Browse the repository at this point in the history
…on-0.2.x

Backport PR #140 on branch 0.2.x (Fix release workflow)
  • Loading branch information
jtpio authored May 28, 2021
2 parents dc6232b + 86a1755 commit f04f2c6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: '*'

permissions:
contents:
write

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1

Expand All @@ -21,8 +25,8 @@ jobs:
uses: actions/checkout@v2
- name: Build checksum file
run: |
sed -n 17,146p .github/workflows/build.yml > build
sed -n 17,146p .github/workflows/release.yml > release
sed -n 20,146p .github/workflows/build.yml > build
sed -n 20,146p .github/workflows/release.yml > release
diff build release
test:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- '*'


permissions:
contents:
write

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1

Expand All @@ -21,8 +25,8 @@ jobs:
uses: actions/checkout@v2
- name: Build checksum file
run: |
sed -n 17,146p .github/workflows/build.yml > build
sed -n 17,146p .github/workflows/release.yml > release
sed -n 20,146p .github/workflows/build.yml > build
sed -n 20,146p .github/workflows/release.yml > release
diff build release
test:
Expand Down Expand Up @@ -219,7 +223,7 @@ jobs:
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 jtpio -p retrolab --usernames-as-github-logins --no-issues --no-unreleased \
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
Expand Down

0 comments on commit f04f2c6

Please sign in to comment.