Skip to content

Commit

Permalink
move changelog reading to the right place, plug into create release
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Feb 19, 2020
1 parent 4737212 commit 01293f9
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/buildapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ jobs:
python3 -m venv venv
source venv/bin/activate
python -c "import sys; print('\n'.join(sys.path))"
- name: Read CHANGELOG.md
id: changelog
env:
GITHUB_REF: ${{ github.ref }}
run: |
source venv/bin/activate
python App/Distribute/extract_changes.py
echo "::set-output name=body::$(python App/Distribute/extract_changes.py)"
- name: Install Dependencies
run: |
source venv/bin/activate
Expand Down Expand Up @@ -83,6 +75,14 @@ jobs:
with:
name: notarize_log.txt
path: notarize_log.txt
- name: Read CHANGELOG.md
id: changelog
env:
GITHUB_REF: ${{ github.ref }}
run: |
source venv/bin/activate
python App/Distribute/extract_changes.py
echo "::set-output name=body::$(python App/Distribute/extract_changes.py)"
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -91,8 +91,7 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
--release info--
body: ${{ steps.changelog.outputs.body }}
draft: true
prerelease: false
- name: Upload Release Asset
Expand Down

0 comments on commit 01293f9

Please sign in to comment.