From: Scott Worley Date: Fri, 10 Apr 2020 07:10:42 +0000 (-0700) Subject: Record release name X-Git-Tag: 1.0~5 X-Git-Url: http://git.scottworley.com/pinch/commitdiff_plain/ebf95bd304bb9ef75c559be16a2d1176122db644?ds=inline;hp=0e5e611d13ab114528838b4ab50b0bf417303877 Record release name --- diff --git a/pinch.py b/pinch.py index 71496a3..6ad2cdc 100644 --- a/pinch.py +++ b/pinch.py @@ -415,6 +415,7 @@ def pin(args: argparse.Namespace) -> None: channel = make_channel(config[section]) if 'channel_url' in config[section]: pin_channel(v, channel) + config[section]['name'] = channel.release_name config[section]['tarball_url'] = channel.table['nixexprs.tar.xz'].absolute_url config[section]['tarball_sha256'] = channel.table['nixexprs.tar.xz'].digest else: