Pull request: scripts: add link to platforms page

Closes #4209.

Squashed commit of the following:

commit 12d99e7454ff01e00f29e51d002147a04a77a2b3
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Tue Feb 1 19:55:31 2022 +0300

    scripts: imp docs

commit 12c4dabea2bac04601202a05d0c820ff2e32c93e
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Tue Feb 1 19:49:16 2022 +0300

    scripts: add link to platforms page
This commit is contained in:
Ainar Garipov 2022-02-01 20:00:32 +03:00
parent 76fa60498e
commit 9146df5493
1 changed files with 5 additions and 8 deletions

View File

@ -7,7 +7,7 @@
# Experienced readers may find it overly verbose. # Experienced readers may find it overly verbose.
# The default verbosity level is 0. Show log messages if the caller requested # 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 # verbosity level is greater than 1. Show the environment if the verbosity
# level is greater than 2. Otherwise, print nothing. # level is greater than 2. Otherwise, print nothing.
# #
@ -370,20 +370,17 @@ log "writing versions"
echo "version=$version" > "./${dist}/version.txt" 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_download_url="https://static.adguard.com/adguardhome/${channel}"
version_json="./${dist}/version.json" version_json="./${dist}/version.json"
readonly version_download_url 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' ] if [ "$channel" = 'edge' ]
then 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/wiki/Platforms'
#
announcement_url='https://github.com/AdguardTeam/AdGuardHome/commits/master'
else else
announcement_url="https://github.com/AdguardTeam/AdGuardHome/releases/tag/${version}" announcement_url="https://github.com/AdguardTeam/AdGuardHome/releases/tag/${version}"
fi fi