Skip to content

Commit

Permalink
[ci][chore] Fix release notes generation (#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCatLady committed Oct 11, 2022
1 parent 8427afd commit c1b33ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,9 @@ jobs:
prev_release=$(echo $(curl -sL https://api.github.com/repos/someengineering/resoto/releases/latest) | jq -r '.tag_name')
year=$(date +'%Y')
date=$(date +'%m-%d')
dir="resoto.com/news/${year}"
dir="resoto.com/news/${year}/${date}-${tags[0]}"
mkdir -p $dir
file="${dir}/${date}-${tags[0]}/index.md"
file="${dir}/index.md"
python tools/release_notes.py ${prev_release} ${tags[0]} > $file
echo ::set-output name=file::$file
link="/news/$(date +'%Y/%m/%d')/${tags[0]}"
Expand Down

0 comments on commit c1b33ca

Please sign in to comment.