Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
mfontanini committed Feb 11, 2024
1 parent da11cd2 commit e2c26fd
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .github/workflows/potato.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release

on:
pull_request:

jobs:
release-notes:
name: Parse release notes
runs-on: ubuntu-latest
outputs:
release_notes: ${{ steps.read_release_notes.outputs.release_notes }}
steps:
- name: Parse release notes
id: read_release_notes
shell: bash
run: |
r=$(./scripts/parse-changelog.sh v0.6.1)
r="${r//'%'/'%25'}"
r="${r//$'\n'/'%0A'}"
r="${r//$'\r'/'%0D'}"
echo "release_notes=$r" >> $GITHUB_OUTPUT
publish-github:
name: Publish on GitHub
runs-on: ${{ matrix.config.OS }}
strategy:
fail-fast: false
matrix:
config:
- { OS: ubuntu-latest, TARGET: "x86_64-unknown-linux-gnu" }

steps:
- name: Checkout the repository
uses: actions/checkout@v3

- name: Potato
shell: bash
run: echo "${{ needs.release_notes.outputs.release_notes }}"
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
file: presenterm-${{ env.RELEASE_VERSION }}-${{ matrix.config.TARGET }}.*
file_glob: true
overwrite: true
release_name: v${{ env.RELEASE_VERSION }}
release_name: v${{ env.RELEASE_VERSION }})
tag: ${{ github.ref }}
body: |
${{ steps.read_release_notes.outputs.RELEASE_NOTES }}
Expand Down

0 comments on commit e2c26fd

Please sign in to comment.