Skip to content

Commit

Permalink
try echo -e
Browse files Browse the repository at this point in the history
  • Loading branch information
coletdjnz committed Sep 10, 2024
1 parent 2624066 commit 555d7bb
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,22 @@ jobs:
cd bundle/
find . -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
zip -9 --recurse-paths "${{ steps.set_variables.outputs.project_name }}" *
# gh release create "${version}" \
# --title "${project_name} ${version}" \
# --notes-file changes.txt \
# --prerelease \
# "${project_name}.zip"
- name: Create release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.set_variables.outputs.version }}
name: ${{ steps.set_variables.outputs.project_name }} ${{ steps.set_variables.outputs.version }}
body: ${{ steps.changelog_reader.outputs.changes }}
draft: false
# makeLatest: true
prerelease: true
artifacts: bundle/${{ steps.set_variables.outputs.project_name }}.zip
echo -e "${{ steps.changelog_reader.outputs.changes }}" > changes.txt
gh release create "${version}" \
--title "${{ steps.set_variables.outputs.project_name }} ${version}" \
--notes-file changes.txt \
--prerelease \
"${{ steps.set_variables.outputs.project_name }}.zip"
# - name: Create release
# uses: ncipollo/release-action@v1
# with:
# tag: ${{ steps.set_variables.outputs.version }}
# name: ${{ steps.set_variables.outputs.project_name }} ${{ steps.set_variables.outputs.version }}
# body: ${{ steps.changelog_reader.outputs.changes }}
# draft: false
# # makeLatest: true
# prerelease: true
# artifacts: bundle/${{ steps.set_variables.outputs.project_name }}.zip

# release_pypi:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 555d7bb

Please sign in to comment.