add release branch

Use this as the default in the example flake.
This commit is contained in:
Erik Arvstedt 2022-05-06 16:45:00 +02:00
parent 2e537fbf99
commit 4b800605e0
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{
description = "A basic nix-bitcoin node";
inputs.nix-bitcoin.url = "github:fort-nix/nix-bitcoin";
inputs.nix-bitcoin.url = "github:fort-nix/nix-bitcoin/release";
outputs = { self, nix-bitcoin }: {

View File

@ -3,6 +3,7 @@ set -euo pipefail
REPO=fort-nix/nix-bitcoin
BRANCH=master
GIT_REMOTE=origin
OAUTH_TOKEN=
DRY_RUN=
TAG_NAME=
@ -88,4 +89,7 @@ post_asset nar-hash.txt.asc
post_asset $ARCHIVE
post_asset $SHA256SUMS
post_asset $SHA256SUMS.asc
git push $GIT_REMOTE $BRANCH:release
echo "Successfully created" $(echo $POST_DATA | jq -r .tag_name)