Skip to content

Commit

Permalink
Does installing it help?
Browse files Browse the repository at this point in the history
  • Loading branch information
sequoiap authored Mar 1, 2023
1 parent b7f64b2 commit cc25a04
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ jobs:
- name: Build
run: |
python -m build
pip install -e .
- name: Get version number
id: get_version
run: echo "VERSION=$(python3 -c 'import pyrolab; print(pyrolab.__version__)')" >> $GITHUB_ENV
- name: Load Release text
id: get_text
run: |
BODY=$(cat ./docs/changelog/${{ github.ref_name }}-changelog.md)
BODY=$(cat ./docs/changelog/${{ env.VERSION }}-changelog.md)
BODY="${BODY//'%'/'%25'}"
BODY="${BODY//$'\n'/'%0A'}"
BODY="${BODY//$'\r'/'%0D'}"
Expand All @@ -45,7 +49,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: PyroLab ${{ steps.get_version.outputs.VERSION }}
body: ${{ steps.get_text.outputs.BODY }}
release_name: PyroLab ${{ env.VERSION }}
body: ${{ env.BODY }}
draft: false
prerelease: false

0 comments on commit cc25a04

Please sign in to comment.