Skip to content

Commit

Permalink
Don't override release for stable
Browse files Browse the repository at this point in the history
  • Loading branch information
maeve-fpf committed Jan 7, 2022
1 parent 8d5b6e6 commit 4c72f29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy/build
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ stable_tag=$(git tag --sort=version:refname | tail -1)

do_build() {
git checkout "$1"
export SECUREDROP_DOCS_RELEASE="$2"

make html
# Due to remote SVG includes not working (they didn't work on RTD either),
Expand All @@ -23,5 +22,8 @@ do_build() {
mv docs/_build "build/${2}"
}

# stable will use the version number as the release
do_build "$stable_tag" stable

export SECUREDROP_DOCS_RELEASE=latest
do_build "$latest_branch" latest

0 comments on commit 4c72f29

Please sign in to comment.