From 4f4d2844be37f4da806cbec967c476bf54744948 Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Thu, 15 Aug 2019 22:31:45 +0800 Subject: [PATCH] elixir: add au.hash (#346) --- bucket/elixir.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bucket/elixir.json b/bucket/elixir.json index 68ac120017..9d12eaafc6 100644 --- a/bucket/elixir.json +++ b/bucket/elixir.json @@ -4,12 +4,16 @@ "license": "Apache-2.0", "depends": "erlang", "url": "https://github.com/elixir-lang/elixir/releases/download/v1.9.1/Precompiled.zip", - "hash": "17e43cb1627a0fa5625bc370cec0964ad6471ef242f1549e316db73c0d94fcc6", + "hash": "sha512:14826fe295c19c9e331f2777f70a13ae55bf107ce043d0aeb747b5235de82bd6175c915f0bea63ffe0f87136357d76522c67bdd54fc61dd1f167afb4879a3845", "env_add_path": "bin", "checkver": { "github": "https://github.com/elixir-lang/elixir" }, "autoupdate": { - "url": "https://github.com/elixir-lang/elixir/releases/download/v$version/Precompiled.zip" + "url": "https://github.com/elixir-lang/elixir/releases/download/v$version/Precompiled.zip", + "hash": { + "url": "https://github.com/elixir-lang/elixir/releases/tag/v$version/", + "regex": "$basename SHA512: $sha512" + } } }