Skip to content

Commit

Permalink
Fix download link for released versions
Browse files Browse the repository at this point in the history
  • Loading branch information
atextor committed Jan 25, 2022
1 parent 02d1f51 commit d122f92
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version: snapshot
asciidoc:
attributes:
release-version: snapshot
release-tag: snapshot
page-component-version: snapshot
nav:
- modules/ROOT/nav.adoc
Expand Down
14 changes: 7 additions & 7 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ Download the pre-built binary for your platform:

[cols="^,^,^"]
|===
.^|image:icon-windows.png[link="https://github.com/atextor/owl-cli/releases/download/{release-version}/owl-x86_64-windows-{release-version}.exe",width=70]
.^|image:icon-windows.png[link="https://github.com/atextor/owl-cli/releases/download/{release-tag}/owl-x86_64-windows-{release-version}.exe",width=70]

https://github.com/atextor/owl-cli/releases/download/{release-version}/owl-x86_64-windows-{release-version}.exe[owl-x86_64-windows-{release-version}.exe]
.^|image:icon-apple.png[link="https://github.com/atextor/owl-cli/releases/download/{release-version}/owl-x86_64-apple-darwin-{release-version}",width=70]
https://github.com/atextor/owl-cli/releases/download/{release-tag}/owl-x86_64-windows-{release-version}.exe[owl-x86_64-windows-{release-version}.exe]
.^|image:icon-apple.png[link="https://github.com/atextor/owl-cli/releases/download/{release-tag}/owl-x86_64-apple-darwin-{release-version}",width=70]

https://github.com/atextor/owl-cli/releases/download/{release-version}/owl-x86_64-apple-darwin-{release-version}[owl-x86_64-apple-darwin-{release-version}]
.^|image:icon-linux.png[link="https://github.com/atextor/owl-cli/releases/download/{release-version}/owl-x86_64-linux-{release-version}",width=70]
https://github.com/atextor/owl-cli/releases/download/{release-tag}/owl-x86_64-apple-darwin-{release-version}[owl-x86_64-apple-darwin-{release-version}]
.^|image:icon-linux.png[link="https://github.com/atextor/owl-cli/releases/download/{release-tag}/owl-x86_64-linux-{release-version}",width=70]

https://github.com/atextor/owl-cli/releases/download/{release-version}/owl-x86_64-linux-{release-version}[owl-x86_64-linux-{release-version}]
https://github.com/atextor/owl-cli/releases/download/{release-tag}/owl-x86_64-linux-{release-version}[owl-x86_64-linux-{release-version}]
|===

For other platforms or architectures, please use the executable .jar file: https://github.com/atextor/owl-cli/releases/download/{release-version}/owl-cli-{release-version}.jar[owl-cli-{release-version}.jar]. This requires Java (OpenJDK) *17* or newer.
For other platforms or architectures, please use the executable .jar file: https://github.com/atextor/owl-cli/releases/download/{release-tag}/owl-cli-{release-version}.jar[owl-cli-{release-version}.jar]. This requires Java (OpenJDK) *17* or newer.

Rename the binary to `owl.exe` (Windows) or `owl` (MacOs/Linux), put it in your favorite directory
and add this directory to the PATH environment variable:
Expand Down
1 change: 1 addition & 0 deletions scripts/do-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ git add docs/modules/ROOT/assets/images/*.svg
sed -i -e 's/version: snapshot/version: '$version'/g' docs/antora.yml
sed -i -e 's/page-component-version: snapshot/page-component-version: '$tag'/g' docs/antora.yml
sed -i -e 's/release-version: snapshot/release-version: '$version'/g' docs/antora.yml
sed -i -e 's/release-tag: snapshot/release-tag: v'$version'/g' docs/antora.yml
sed -i -e 's/snapshot/'$version'/g' gradle.properties
git add docs/antora.yml
git add gradle.properties
Expand Down

0 comments on commit d122f92

Please sign in to comment.