Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

push-release.sh: add push to release branch #480

Merged
merged 1 commit into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)