Skip to content

Commit

Permalink
Merge pull request #480 from boozallen/469-fix-docs-display
Browse files Browse the repository at this point in the history
[#469] use quotes for display version in Antora docs
  • Loading branch information
ewilkins-csi authored Nov 20, 2024
2 parents 15a68b0 + e21f525 commit 568d3c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/update_antora/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
run: |
sed -i "s/^version: .*/version: ${{ inputs.patch-version }}/" docs/antora.yml
version=$( ${{ inputs.is-pre-release }} && echo ${{ inputs.version }} || echo ${{ inputs.major-minor-version }} )
sed -i "s/^display_version: .*/display_version: $version/" docs/antora.yml
sed -i "s/^display_version: .*/display_version: \"$version\"/" docs/antora.yml
sed -i "s/^prerelease: .*/prerelease: ${{ inputs.is-pre-release }}/" docs/antora.yml
sed -i "s/^ is-pre-release: .*/ is-pre-release: ${{ inputs.is-pre-release }}/" docs/antora.yml
find docs/modules/ROOT/attachments/ -type f -exec sed -i 's|${{ inputs.custom-facet-old-version }}|${{ inputs.custom-facet-new-version }}|g' {} +
Expand Down
4 changes: 2 additions & 2 deletions docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: aissemble
title: aiSSEMBLE
version: 1.11.0
display_version: 1.11.0-SNAPSHOT
display_version: "1.11.0-SNAPSHOT"
prerelease: true
nav:
- modules/ROOT/nav.adoc
asciidoc:
attributes:
#Custom attribute used for adding -SNAPSHOT to the archetype.adoc command when true
is-pre-release: true
is-pre-release: true

0 comments on commit 568d3c6

Please sign in to comment.