Skip to content

Commit

Permalink
More GHA adjustments and updates (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 authored Nov 26, 2024
1 parent b521d83 commit 4da49cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ jobs:
run: |
VERSION="${{ github.ref }}"
VERSION=${VERSION##*/v}
echo "::set-output name=VERSION::$VERSION"
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
BODY=$(git show -s --format=%b)
BODY="${BODY//'%'/'%25'}"
BODY="${BODY//$'\n'/'%0A'}"
BODY="${BODY//$'\r'/'%0D'}"
echo "::set-output name=BODY::$BODY"
echo "BODY=BODY" >> $GITHUB_OUTPUT
- name: Create Pull Request
id: cpr
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
id: extract_release
# The body may be multiline, therefore we need to escape some characters
run: |
VERSION="${{ github.ref }}"
VERSION="${{ steps.version.outputs.result }}"
VERSION=${VERSION##*/v}
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
EOF=$(od -An -N6 -x /dev/urandom | tr -d ' ')
Expand Down

0 comments on commit 4da49cb

Please sign in to comment.