shrub/sh/create-ropsten-pills
Jared Tobin 432a321e0c
build: add ropsten-pills target to Makefile
Adds a script for creating Ropsten pills, then adds it to the Makefile
under the 'ropsten-pills' target.
2019-10-24 10:03:52 +08:00

12 lines
281 B
Bash
Executable File

#!/usr/bin/env bash
set -e
sha=$(git rev-parse $(git branch --show-current))
brass=$(nix-build nix/ops -A brass-ropsten --no-out-link)
ivory=$(nix-build nix/ops -A ivory-ropsten --no-out-link)
cp $brass ./brass-ropsten-${sha:0:5}.pill
cp $ivory ./ivory-ropsten-${sha:0:5}.pill