mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Gh workflow changelog formatting fix (#1803)
* Remove replacement of newlines with hex codes Assuming that its unnecessary as we are no longer outputting these via stdout but pipe it into some binary that could handle newlines in its stdin therefore don't need and support this transformation * Attempt 2 after reading gh docs :D * Fix changelog for stable release too
This commit is contained in:
parent
0f85f247b6
commit
6e74ad942f
10
.github/workflows/create_nightly_release.yml
vendored
10
.github/workflows/create_nightly_release.yml
vendored
@ -71,11 +71,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
CHANGELOG=$(python3 .github/workflows/changelog.py)
|
{
|
||||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
echo 'content<<EOF'
|
||||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
python3 .github/workflows/changelog.py
|
||||||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
echo EOF
|
||||||
echo "content=$CHANGELOG" >> $GITHUB_OUTPUT
|
} >> "$GITHUB_OUTPUT"
|
||||||
id: changelog
|
id: changelog
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
10
.github/workflows/create_stable_release.yml
vendored
10
.github/workflows/create_stable_release.yml
vendored
@ -55,11 +55,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
CHANGELOG=$(python3 .github/workflows/changelog.py ${{ steps.past_version.outputs.past_version }})
|
{
|
||||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
echo 'content<<EOF'
|
||||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
python3 .github/workflows/changelog.py ${{ steps.past_version.outputs.past_version }}
|
||||||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
echo EOF
|
||||||
echo "content=$CHANGELOG" >> $GITHUB_OUTPUT
|
} >> "$GITHUB_OUTPUT"
|
||||||
id: changelog
|
id: changelog
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
Loading…
Reference in New Issue
Block a user