mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-18 11:55:46 +08:00
Merge pull request #140 from jtpio/update-release-workflow
Fix release workflow
This commit is contained in:
commit
f2aeab676d
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -6,6 +6,10 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: '*'
|
branches: '*'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents:
|
||||||
|
write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||||
|
|
||||||
@ -21,8 +25,8 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build checksum file
|
- name: Build checksum file
|
||||||
run: |
|
run: |
|
||||||
sed -n 17,146p .github/workflows/build.yml > build
|
sed -n 20,146p .github/workflows/build.yml > build
|
||||||
sed -n 17,146p .github/workflows/release.yml > release
|
sed -n 20,146p .github/workflows/release.yml > release
|
||||||
diff build release
|
diff build release
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -6,6 +6,10 @@ on:
|
|||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents:
|
||||||
|
write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||||
|
|
||||||
@ -21,8 +25,8 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build checksum file
|
- name: Build checksum file
|
||||||
run: |
|
run: |
|
||||||
sed -n 17,146p .github/workflows/build.yml > build
|
sed -n 20,146p .github/workflows/build.yml > build
|
||||||
sed -n 17,146p .github/workflows/release.yml > release
|
sed -n 20,146p .github/workflows/release.yml > release
|
||||||
diff build release
|
diff build release
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@ -219,7 +223,7 @@ jobs:
|
|||||||
docker run --rm -v "$(pwd)":/usr/local/src/your-app \
|
docker run --rm -v "$(pwd)":/usr/local/src/your-app \
|
||||||
-e CHANGELOG_GITHUB_TOKEN=${CHANGELOG_GITHUB_TOKEN} \
|
-e CHANGELOG_GITHUB_TOKEN=${CHANGELOG_GITHUB_TOKEN} \
|
||||||
ferrarimarco/github-changelog-generator \
|
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"
|
--since-tag ${{ steps.previous_tag.outputs.tag }} --header "" --pr-label "## Changes"
|
||||||
head -n -1 CHANGELOG.md > CHANGELOG
|
head -n -1 CHANGELOG.md > CHANGELOG
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
|
Loading…
Reference in New Issue
Block a user