Skip to content

Commit df3e43e

Browse files
committed
Build PDF from release branch for release, fixes #207
1 parent bb9b87c commit df3e43e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/scripts/build_guide.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ if [ "$GUIDE_SSH_KEY" != "" ]; then
1515
sudo apt-get install libgraphicsmagick1-dev
1616
bundle config --local path .bundle/gems
1717
bundle
18+
19+
if [ ! "$release_snapshot" = true ] ; then # Build PDF from release branch?
20+
sed -i.bu "s/main/$git_version/" doc/antora-assembler.yml
21+
fi
1822
npm run hosted-docs -- --attribute "git-version=$git_version"
1923

2024
# Make sure there are no broken links in the versions we care about.

0 commit comments

Comments
 (0)