Skip to content

Commit

Permalink
reverted workflows to something that at least kind of worked
Browse files Browse the repository at this point in the history
  • Loading branch information
Helliaca committed Jun 21, 2024
1 parent 507e21e commit db4b4b8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ jobs:
- name: Read patch notes
id: patch-notes
run: |
# Read the contents of patch_notes.txt and base64 encode it
patch_notes=$(cat patch_notes.txt | base64)
# Read the contents of patch_notes.txt
patch_notes=$(cat patch_notes.txt)
# Escape newline characters to be compatible with GitHub Actions output
patch_notes="${patch_notes//'%'/'%25'}"
patch_notes="${patch_notes//$'\n'/'%0A'}"
patch_notes="${patch_notes//$'\r'/'%0D'}"
echo "patch_notes=$patch_notes" >> $GITHUB_OUTPUT
- name: Create Release
Expand All @@ -45,6 +49,6 @@ jobs:
body: |
Compatible HoI4 Version: v${{ steps.get-version.outputs.compatible_version }}
$(echo '${{ steps.patch-notes.outputs.patch_notes }}' | base64 --decode)
${{ steps.patch-notes.outputs.patch_notes }}
draft: false
prerelease: false

0 comments on commit db4b4b8

Please sign in to comment.