Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit 3d7cb75

Browse files
committed
ci: docs: Checkout last release
Signed-off-by: John Andersen <[email protected]>
1 parent 3200a76 commit 3d7cb75

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.ci/run.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ function run_docs() {
150150
rm -rf pages
151151
git clean -fdx
152152
git reset --hard HEAD
153-
git checkout $(git tag --sort=committerdate | tail -n 1)
153+
last_release=$(dffml service dev setuppy kwarg version setup.py)
154+
echo "Checking out last release ${last_release}"
155+
git checkout "${last_release}"
154156
git clean -fdx
155157
git reset --hard HEAD
156158
# Uninstall dffml

0 commit comments

Comments
 (0)