mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-11 12:59:17 +03:00
show raw version number in docs dropdown (#1150)
This commit is contained in:
parent
98bcf652c4
commit
3ff09d7d5e
@ -48,7 +48,7 @@ jobs:
|
||||
LOG=$(Build.StagingDirectory)/log.txt
|
||||
RELEASES=$(curl https://api.github.com/repos/digital-asset/daml/releases -s | jq -r '. | map(select(.prerelease == false)) | map(.tag_name)[]')
|
||||
LATEST=$(echo $RELEASES | awk '{print $1}')
|
||||
JSON_BODY=$(echo $RELEASES | sed -e 's/ /\n/g' | sed -e 's/v\(.*\)/"\1": "v\1",'/g)
|
||||
JSON_BODY=$(echo $RELEASES | sed -e 's/ /\n/g' | sed -e 's/v\(.*\)/"\1": "\1",'/g)
|
||||
echo "Building latest docs: $LATEST"
|
||||
git checkout $LATEST >$LOG 2>&1
|
||||
robustly_download_nix_pkgs
|
||||
|
Loading…
Reference in New Issue
Block a user