Skip to content

Commit 0d59823

Browse files
ci: update llms.txt and llms-full.txt version on tag push
1 parent abc5571 commit 0d59823

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/update-readme-version.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update README Version
1+
name: Update Version
22

33
on:
44
push:
@@ -31,6 +31,14 @@ jobs:
3131
VERSION="${TAG#v}"
3232
sed -i "s|^version=.*|version=${VERSION}|" gradle.properties
3333
34+
- name: Update version in llms.txt
35+
run: |
36+
sed -i "s|^- 버전: .*|- 버전: ${{ steps.tag.outputs.version }}|" llms.txt
37+
38+
- name: Update version in llms-full.txt
39+
run: |
40+
sed -i "s|^- 버전: .*|- 버전: ${{ steps.tag.outputs.version }}|" llms-full.txt
41+
3442
- name: Check for changes
3543
id: diff
3644
run: |
@@ -41,6 +49,6 @@ jobs:
4149
run: |
4250
git config user.name "github-actions[bot]"
4351
git config user.email "github-actions[bot]@users.noreply.github.com"
44-
git add README.md gradle.properties
52+
git add README.md gradle.properties llms.txt llms-full.txt
4553
git commit -m "chore: bump version to ${{ steps.tag.outputs.version }}"
4654
git push

0 commit comments

Comments
 (0)