From 9146df5493ddaf4022047dda116cdb285f7af48d Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Tue, 1 Feb 2022 20:00:32 +0300 Subject: [PATCH] Pull request: scripts: add link to platforms page Closes #4209. Squashed commit of the following: commit 12d99e7454ff01e00f29e51d002147a04a77a2b3 Author: Ainar Garipov Date: Tue Feb 1 19:55:31 2022 +0300 scripts: imp docs commit 12c4dabea2bac04601202a05d0c820ff2e32c93e Author: Ainar Garipov Date: Tue Feb 1 19:49:16 2022 +0300 scripts: add link to platforms page --- scripts/make/build-release.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/scripts/make/build-release.sh b/scripts/make/build-release.sh index 16486e0b..f9b8e8da 100644 --- a/scripts/make/build-release.sh +++ b/scripts/make/build-release.sh @@ -7,7 +7,7 @@ # Experienced readers may find it overly verbose. # The default verbosity level is 0. Show log messages if the caller requested -# verbosity level greather than 0. Show every command that is run if the +# verbosity level greater than 0. Show every command that is run if the # verbosity level is greater than 1. Show the environment if the verbosity # level is greater than 2. Otherwise, print nothing. # @@ -370,20 +370,17 @@ log "writing versions" echo "version=$version" > "./${dist}/version.txt" -# Create the verison.json file. +# Create the version.json file. version_download_url="https://static.adguard.com/adguardhome/${channel}" version_json="./${dist}/version.json" readonly version_download_url version_json -# Point users to the master branch if the channel is edge. +# If the channel is edge, point users to the "Platforms" page on the Wiki, +# because the direct links to the edge packages are listed there. if [ "$channel" = 'edge' ] then - # TODO(a.garipov): Put a link to the platforms page here. Something like: - # - # announcement_url='https://github.com/AdguardTeam/AdGuardHome/wiki/Platforms' - # - announcement_url='https://github.com/AdguardTeam/AdGuardHome/commits/master' + announcement_url='https://github.com/AdguardTeam/AdGuardHome/wiki/Platforms' else announcement_url="https://github.com/AdguardTeam/AdGuardHome/releases/tag/${version}" fi