Fix oops.
This commit is contained in:
parent
dfa1aa54a7
commit
ebd3a8b85f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release-dev.yaml
vendored
4
.github/workflows/release-dev.yaml
vendored
|
@ -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'}"
|
||||
|
|
Loading…
Reference in a new issue