Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 335ee1b

Browse files
committedDec 28, 2024·
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)
Please sign in to comment.