Fix oops.

This commit is contained in:
fewtarius 2022-06-03 17:04:12 -04:00
parent dfa1aa54a7
commit ebd3a8b85f
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -17,7 +17,7 @@ on:
- 'tools/**'
branches:
- dev
types: [closed]
types: [opened, closed, synchronize, ready_for_review, labeled]
workflow_dispatch:
env:
@ -47,7 +47,7 @@ jobs:
- name: changes
id: changes
run: |
stable_commit="$(curl "https://api.github.com/repos/JustEnoughLinuxOS/distribution/git/refs/heads/main" 2>&1 | awk '/url/ {last=$2;n=NR} END{print last; }' | awk 'BEGIN {FS="/"}; {print substr($9, 1, length($9)-1)}')
stable_commit="$(curl "https://api.github.com/repos/JustEnoughLinuxOS/distribution/git/refs/heads/main" 2>&1 | awk '/url/ {last=$2;n=NR} END{print last; }' | awk 'BEGIN {FS="/"}; {print substr($9, 1, length($9)-1)}')"
release_notes="$(git log ${stable_commit}..HEAD --pretty=format:"* %h: %s")"
release_notes="${release_notes//'%'/'%25'}"
release_notes="${release_notes//$'\n'/'%0A'}"