Skip to content

Commit c1b33ca

Browse files
committed
[ci][chore] Fix release notes generation (#1217)
1 parent 8427afd commit c1b33ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,9 @@ jobs:
452452
prev_release=$(echo $(curl -sL https://api.github.com/repos/someengineering/resoto/releases/latest) | jq -r '.tag_name')
453453
year=$(date +'%Y')
454454
date=$(date +'%m-%d')
455-
dir="resoto.com/news/${year}"
455+
dir="resoto.com/news/${year}/${date}-${tags[0]}"
456456
mkdir -p $dir
457-
file="${dir}/${date}-${tags[0]}/index.md"
457+
file="${dir}/index.md"
458458
python tools/release_notes.py ${prev_release} ${tags[0]} > $file
459459
echo ::set-output name=file::$file
460460
link="/news/$(date +'%Y/%m/%d')/${tags[0]}"

0 commit comments

Comments
 (0)