electrs/update.sh: ensure tag is checked out

Cloning a tag-named branch introduced a supply chain attack vector,
because branch and tag contents might differ.
Now the hashed worktree always corresponds to the tag that is GPG-verified.

+1
+1
pkgs/applications/blockchains/electrs/update.sh
··· 21 21 trap "rm -rf $tmpdir" EXIT 22 22 23 23 git clone --depth 1 --branch v${version} -c advice.detachedHead=false https://github.com/romanz/electrs $repo 24 + git -C $repo checkout tags/v${version} 24 25 25 26 export GNUPGHOME=$tmpdir 26 27 echo