Skip to content
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
go-version: "1.21"

- name: Set Env
run: echo "TM_VERSION=$(go list -m github.com/tendermint/tendermint | sed 's:.* ::')" >> $GITHUB_ENV
run: echo "TM_VERSION=$(go list -m github.com/cometbft/cometbft | sed 's:.* ::')" >> $GITHUB_ENV

- name: Release
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean --release-notes ./RELEASE_NOTES.md
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ snapshot:
name_template: "{{ .Version }}-{{ .ShortCommit }}"

changelog:
skip: false
disable: true

git:
# What should be used to sort tags when gathering the current and previous
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ REQUIRE_GO_VERSION = 1.21
export GO111MODULE = on
export CGO_ENABLED = 0

build-ledger: check_version go.sum $(BUILDDIR)/
@echo "WARNING: Ledger build involves enabling cgo, which disables the ability to have reproducible builds."
CGO_ENABLED=1 go build -mod=readonly $(BUILD_FLAGS) $(BUILD_ARGS) -o $(BUILDDIR)/ ./...

# process build tags

build_tags = netgo
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ The following modifications have been made to the Cosmos Hub software to create
5. Changed Bech32 prefixes to `atone` (see `cmd/atomoned/cmd/config.go`)
6. Removed ability for validators to vote on proposals with delegations, they can only use their own stake

## Reproducible builds (TODO)
## Reproducible builds

An effort has been made to make it possible to build the exact same binary
locally as the Github Release section. To do this, checkout to the expected
version and then simply run `make build` (which will output the binary to the
`build` directory) or `make install`. The resulted binary should have the same
sha256 hash than the one from the Github Release section.

## Ledger support

Run `make build-ledger` to have ledger support in `./build/atomoned` binary.
Note that this will disable reproducible builds, as it introduces OS
dependencies.