mirror of
https://github.com/urbit/shrub.git
synced 2024-12-13 06:25:09 +03:00
432a321e0c
Adds a script for creating Ropsten pills, then adds it to the Makefile under the 'ropsten-pills' target.
12 lines
281 B
Bash
Executable File
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
|