Skip to content

Commit

Permalink
Merge #480: push-release.sh: add push to release branch
Browse files Browse the repository at this point in the history
4b80060 add `release` branch (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 4b80060

Tree-SHA512: 0b4f0890fac71cba07fe86b7b5cf85b872aaebf8b293e5306ed3a328ffdb36e0c34b8594d920b645b6a9712a6c2a01d973193bceb1f0b1f0cb6452a8c583ef51
  • Loading branch information
jonasnick committed May 6, 2022
2 parents 2e537fb + 4b80060 commit 4df8d94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/flakes/flake.nix
Original file line number Diff line number Diff line change
@@ -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 }: {

Expand Down
4 changes: 4 additions & 0 deletions helper/push-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set -euo pipefail

REPO=fort-nix/nix-bitcoin
BRANCH=master
GIT_REMOTE=origin
OAUTH_TOKEN=
DRY_RUN=
TAG_NAME=
Expand Down Expand Up @@ -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)

0 comments on commit 4df8d94

Please sign in to comment.