@@ -5,12 +5,15 @@ VERSION="${1:-latest}"
55# Function to generate download links for a specific version
66generate_download_links () {
77 local version=" $1 "
8+ # Remove 'v' prefix from version for artifact names
9+ local version_no_v=" ${version# v} "
10+
811 if [ " $version " = " latest" ]; then
912 cat << EOF
1013!!! info "Development Version"
1114 This is the latest development version of the documentation. For stable releases, please check the version selector above.
1215
13- [📋 View all releases](https://github.com/mvach/ctRestClientSrc /releases)
16+ [📋 View all releases](https://github.com/mvach/ctRestClient /releases)
1417EOF
1518 else
1619 cat << EOF
@@ -23,12 +26,12 @@ The following binaries are available for this version:
2326
2427| Platform | Architecture | Download Link |
2528|----------|--------------|---------------|
26- | 🐧 Linux | x86_64 | [ctRestClient_${version } _linux_x86_64.tar.gz](https://github.com/mvach/ctRestClientSrc /releases/download/${version} /ctRestClient_${version } _linux_x86_64.tar.gz) |
27- | 🍎 macOS | Intel (x86_64) | [ctRestClient_${version } _darwin_x86_64.tar.gz](https://github.com/mvach/ctRestClientSrc /releases/download/${version} /ctRestClient_${version } _darwin_x86_64.tar.gz) |
28- | 🍎 macOS | Apple Silicon (ARM64) | [ctRestClient_${version } _darwin_arm64.tar.gz](https://github.com/mvach/ctRestClientSrc /releases/download/${version} /ctRestClient_${version } _darwin_arm64.tar.gz) |
29- | 🪟 Windows | x86_64 | [ctRestClient_${version } _windows_x86_64.tar.gz](https://github.com/mvach/ctRestClientSrc /releases/download/${version} /ctRestClient_${version } _windows_x86_64.tar.gz) |
29+ | 🐧 Linux | x86_64 | [ctRestClient_${version_no_v } _linux_x86_64.tar.gz](https://github.com/mvach/ctRestClient /releases/download/${version} /ctRestClient_${version_no_v } _linux_x86_64.tar.gz) |
30+ | 🍎 macOS | Intel (x86_64) | [ctRestClient_${version_no_v } _darwin_x86_64.tar.gz](https://github.com/mvach/ctRestClient /releases/download/${version} /ctRestClient_${version_no_v } _darwin_x86_64.tar.gz) |
31+ | 🍎 macOS | Apple Silicon (ARM64) | [ctRestClient_${version_no_v } _darwin_arm64.tar.gz](https://github.com/mvach/ctRestClient /releases/download/${version} /ctRestClient_${version_no_v } _darwin_arm64.tar.gz) |
32+ | 🪟 Windows | x86_64 | [ctRestClient_${version_no_v } _windows_x86_64.tar.gz](https://github.com/mvach/ctRestClient /releases/download/${version} /ctRestClient_${version_no_v } _windows_x86_64.tar.gz) |
3033
31- [📋 View all release assets](https://github.com/mvach/ctRestClientSrc /releases/tag/${version} )
34+ [📋 View all release assets](https://github.com/mvach/ctRestClient /releases/tag/${version} )
3235EOF
3336 fi
3437}
0 commit comments