Skip to content

Commit 1feef7a

Browse files
fix(release-notifier): multiple fixes (#423)
1 parent 3ceab02 commit 1feef7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-notifier.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,14 @@ jobs:
8080
month_day=$(printf "%04d" "$month_day")
8181
8282
# create the filename
83-
file_name="_posts/releases/${year}-${month_day:0:2}-${month_day:2:2}-v${semver}.md"
83+
file_name="_posts/releases/${repo_lower}/${year}-${month_day:0:2}-${month_day:2:2}-v${semver}.md"
8484
mkdir -p "$(dirname "${file_name}")"
8585
8686
# create jekyll blog post
8787
echo "---" > "${file_name}"
8888
echo "layout: release" >> "${file_name}"
8989
echo "title: ${{ github.event.repository.name }} ${tag_name} Released" >> "${file_name}"
90+
echo "release-tag: ${tag_name}" >> "${file_name}"
9091
echo "gh-repo: ${{ github.repository }}" >> "${file_name}"
9192
echo "gh-badge: [follow, fork, star]" >> "${file_name}"
9293
echo "tags: [release, ${repo_lower}]" >> "${file_name}"

0 commit comments

Comments
 (0)