Merge fort-nix/nix-bitcoin#480: push-release.sh: add push to release branch

4b800605e0 add `release` branch (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 4b800605e0

Tree-SHA512: 0b4f0890fac71cba07fe86b7b5cf85b872aaebf8b293e5306ed3a328ffdb36e0c34b8594d920b645b6a9712a6c2a01d973193bceb1f0b1f0cb6452a8c583ef51
This commit is contained in:
Jonas Nick 2022-05-06 14:53:38 +00:00
commit 4df8d9404d
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ {
description = "A basic nix-bitcoin node"; 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 }: { outputs = { self, nix-bitcoin }: {

View File

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