8000 Don't remove the v from the tag when building index for docs. · judge0/judge0-python@335ee1b · GitHub
[go: up one dir, main page]

Skip to content

Commit 335ee1b

Browse files
committed
Don't remove the v from the tag when building index for docs.
1 parent 6c3b8b7 commit 335ee1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ jobs:
4040
git fetch --tags
4141
# Get the latest tag
4242
latest_tag=$(git tag --sort=-creatordate | head -n 1)
43-
# Remove the 'v' prefix if it exists
44-
latest_tag_no_v=${latest_tag#v}
45-
echo "LATEST_RELEASE=$latest_tag_no_v" >> $GITHUB_ENV
43+
echo "LATEST_RELEASE=$latest_tag" >> $GITHUB_ENV
4644
4745
- name: Generate index.html for judge0.github.io/judge0-python.
4846
run: |

0 commit comments

Comments
 (0)
0