supper/release.sh

13 lines
377 B
Bash

#!/bin/bash
set -ex
release_name="$1"
cp target/release/supper.exe target/release/supper-"$release_name".exe
echo "RELEASE NOTES" > /tmp/supper-release-notes.txt
vim /tmp/supper-release-notes.txt
tea releases create -r scott/supper --tag "$release_name" -t "Supper $release_name" --asset "target/release/supper-$release_name.exe" -n "$(cat /tmp/supper-release-notes.txt)"