Skip to content

Commit

Permalink
Merge branch 'v4' into v4.0.0-rc7
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulBernal authored Nov 22, 2024
2 parents 9720d68 + 01db54d commit 1db355b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: "Release"

on:
release:
types: [created]
jobs:
types: [published]
draft-release:
runs-on: ubuntu-latest
permissions: write-all
Expand All @@ -29,6 +28,6 @@ jobs:
with:
draft: true
files: |
build/bcnad_linux_arm64
build/bcnad_linux_amd64
build/bcnad_linux_arm64.tar.gz
build/bcnad_linux_amd64.tar.gz
build/bcnad_sha256.txt
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ build-reproducible-generic: go.sum
mkdir -p build
$(DOCKER) create -ti --name $(subst /,-,latest-build-$(PLATFORM)) latest-build-$(PLATFORM) bcnad
$(DOCKER) cp -a $(subst /,-,latest-build-$(PLATFORM)):/usr/local/bin/bcnad $(BUILD_DIR)/bcnad_$(subst /,_,$(PLATFORM))
sha256sum $(BUILD_DIR)/bcnad_$(subst /,_,$(PLATFORM)) >> $(BUILD_DIR)/bcnad_sha256.txt
tar -czvf $(BUILD_DIR)/bcnad_$(subst /,_,$(PLATFORM)).tar.gz -C $(BUILD_DIR) bcnad_$(subst /,_,$(PLATFORM))
rm $(BUILD_DIR)/bcnad_$(subst /,_,$(PLATFORM))
sha256sum $(BUILD_DIR)/bcnad_$(subst /,_,$(PLATFORM)).tar.gz >> $(BUILD_DIR)/bcnad_sha256.txt

# Add check to make sure we are using the proper Go version before proceeding with anything
check-go-version:
Expand Down

0 comments on commit 1db355b

Please sign in to comment.