Skip to content

Commit

Permalink
Tag latest only when releasing from main branch (#2863)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozangunalp authored Dec 17, 2024
1 parent 8103dba commit 4324121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ deploy-docs version:
./mvnw -B -ntp clean compile -pl documentation
cd documentation
pipenv install
pipenv run mike deploy --update-aliases --push --remote origin {{version}} "latest"
pipenv run mike deploy --update-aliases --push --remote origin {{version}} $(git merge-base --is-ancestor HEAD origin/main && echo '"latest"' || echo '')
# Clear RevAPI justifications
clear-revapi:
Expand Down

0 comments on commit 4324121

Please sign in to comment.