Skip to content

Commit e08469d

Browse files
committed
Add pinecone release tracking to page
1 parent 6f7cecf commit e08469d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232
- run: echo '' >> index.md
33+
- run: echo '# Pinecone Releases' >> index.md
34+
- name: Append Pinecone Releases
35+
run: |
36+
git clone http://github.com/matrix-org/pinecone
37+
cd pinecone && git tag -n --sort=-version:refname | while IFS=$'\n' read full_tag; do
38+
tag_name=$(echo ${full_tag} | awk '{print $1}')
39+
tag_comment=$(echo ${full_tag} | awk '{$1=""; print}')
40+
tag_link="[${tag_name}](https://github.com/matrix-org/pinecone/releases/tag/${tag_name})"
41+
echo "${tag_link} - ${tag_comment} " >> ../index.md
42+
done
3343
- run: echo '# History' >> index.md
3444
- name: Append Git History
3545
run: git log -n 15 --abbrev-commit --date=short --decorate --format=format:'%h - (%ad) %s%n' --all | sed 's/^......./[&](https:\/\/github.com\/matrix-org\/arewep2pyet\/commit\/&)/' >> index.md

0 commit comments

Comments
 (0)