Skip to content

Commit 9243851

Browse files
authored
Merge pull request #410 from modelix/ci/fix-api-ref-latest
MODELIX-650 Latest API documentation leads to 404
2 parents 6e4afbf + 0a9ccd0 commit 9243851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
cd build/dokka
3030
latestVersion=$(for n in *; do printf '%s\n' "$n"; done | sort -V | grep -E "^[0-9]+\.[0-9]+" | tail -n1)
31-
if [[ -z "${latestVersion}" ]]; then
31+
if [[ -n "${latestVersion}" ]]; then
3232
ln -sf ${latestVersion} latest
3333
fi
3434
- name: Publish to GitHub Pages

0 commit comments

Comments
 (0)