#! /usr/bin/env sh wally-cli "$1" root="$(git rev-parse --show-toplevel)" version="$(nix eval --file ./version.nix)" cat >./version.nix < $((version + 1)) EOF cp --no-preserve=mode "$1" "$root/deploys/" # vim: ft=sh