From e391c1faa4720f8519cb0847aa350024f52d8c9e Mon Sep 17 00:00:00 2001 From: mitch1024 <156652908+mitch1024@users.noreply.github.com> Date: Tue, 4 Jun 2024 19:07:40 +0800 Subject: [PATCH 1/6] Update releases.yml --- .github/workflows/releases.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 9d8e04d49..aa00f1cef 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -17,7 +17,7 @@ jobs: - name: Build Binaries run: | - apt-get install -y gcc-aarch64-linux-gnu + sudo apt-get install -y gcc-aarch64-linux-gnu make build-all-binary tar -czvf build/iris-linux-amd64-${ github.ref }.tar.gz build/iris-linux-amd64 tar -czvf build/iris-linux-arm64-${ github.ref }.tar.gz build/iris-linux-arm64 From 05d8b5508e0abc96f9c62dc104965bbede88e92e Mon Sep 17 00:00:00 2001 From: zhangyelong Date: Wed, 5 Jun 2024 09:51:44 +0800 Subject: [PATCH 2/6] remove windows binary support --- .github/workflows/releases.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index aa00f1cef..8bc7a7677 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -5,30 +5,30 @@ on: - "v[0-9]+.[0-9]+.[0-9]+" jobs: - uploadAssets: + setup-build-publish: + name: Setup, Build and Publish runs-on: ubuntu-latest steps: - - name: Checkout + - name: Checkout Codes uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - name: Setup Golang + uses: actions/setup-go@v5 with: go-version: '^1.21.0' # The Go version to download (if necessary) and use. - name: Build Binaries run: | sudo apt-get install -y gcc-aarch64-linux-gnu - make build-all-binary + make build-all-binaries tar -czvf build/iris-linux-amd64-${ github.ref }.tar.gz build/iris-linux-amd64 tar -czvf build/iris-linux-arm64-${ github.ref }.tar.gz build/iris-linux-arm64 - mv build/iris-windows-amd64.exe build/iris-windows-amd64-${ github.ref }.exe - - name: Release + - name: Publish Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: body_path: RELEASE.md files: | build/iris-linux-amd64-${ github.ref }.tar.gz - build/iris-linux-arm64-${ github.ref }.tar.gz - build/iris-windows-amd64-${ github.ref }.exe + build/iris-linux-arm64-${ github.ref }.tar.gz \ No newline at end of file From 722cf2b2c549b6f9fab60bfa125830d98faa52f6 Mon Sep 17 00:00:00 2001 From: zhangyelong Date: Wed, 5 Jun 2024 09:51:56 +0800 Subject: [PATCH 3/6] remove windows binary support --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c94b614a7..dbed3a742 100644 --- a/Makefile +++ b/Makefile @@ -88,10 +88,9 @@ endif build-linux: check-evm-chain-id go.sum LEDGER_ENABLED=false GOOS=linux GOARCH=amd64 $(MAKE) build -build-all-binary: check-evm-chain-id go.sum +build-all-binaries: check-evm-chain-id go.sum LEDGER_ENABLED=false GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build $(BUILD_FLAGS) -o build/iris-linux-amd64 ./cmd/iris LEDGER_ENABLED=false GOOS=linux GOARCH=arm64 CGO_ENABLED=1 CC=aarch64-linux-gnu-gcc go build $(BUILD_FLAGS) -o build/iris-linux-arm64 ./cmd/iris - LEDGER_ENABLED=false GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build $(BUILD_FLAGS) -o build/iris-windows-amd64.exe ./cmd/iris build-contract-tests-hooks: ifeq ($(OS),Windows_NT) @@ -251,4 +250,4 @@ start-rly: kill-dev: @echo "Killing nftd and removing previous data" -@rm -rf ./data - -@killall nftd 2>/dev/null \ No newline at end of file + -@killall nftd 2>/dev/null From cf4f59a470c0a2278df985bd51eefd768eee631e Mon Sep 17 00:00:00 2001 From: zhangyelong Date: Wed, 5 Jun 2024 10:01:52 +0800 Subject: [PATCH 4/6] replace github.ref to GITHUB_REF_NAME --- .github/workflows/releases.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 8bc7a7677..c4296a0a7 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -21,14 +21,13 @@ jobs: run: | sudo apt-get install -y gcc-aarch64-linux-gnu make build-all-binaries - tar -czvf build/iris-linux-amd64-${ github.ref }.tar.gz build/iris-linux-amd64 - tar -czvf build/iris-linux-arm64-${ github.ref }.tar.gz build/iris-linux-arm64 + tar -czvf build/iris-linux-amd64-${ GITHUB_REF_NAME }.tar.gz build/iris-linux-amd64 + tar -czvf build/iris-linux-arm64-${ GITHUB_REF_NAME }.tar.gz build/iris-linux-arm64 - name: Publish Release uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') with: body_path: RELEASE.md files: | - build/iris-linux-amd64-${ github.ref }.tar.gz - build/iris-linux-arm64-${ github.ref }.tar.gz \ No newline at end of file + build/iris-linux-amd64-${ GITHUB_REF_NAME }.tar.gz + build/iris-linux-arm64-${ GITHUB_REF_NAME }.tar.gz \ No newline at end of file From 0b65ce7deeafce8d50747dd4bbb02d34af8d707a Mon Sep 17 00:00:00 2001 From: zhangyelong Date: Wed, 5 Jun 2024 10:39:58 +0800 Subject: [PATCH 5/6] remove zip binaries step --- .github/workflows/releases.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c4296a0a7..0c61cc951 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -21,13 +21,11 @@ jobs: run: | sudo apt-get install -y gcc-aarch64-linux-gnu make build-all-binaries - tar -czvf build/iris-linux-amd64-${ GITHUB_REF_NAME }.tar.gz build/iris-linux-amd64 - tar -czvf build/iris-linux-arm64-${ GITHUB_REF_NAME }.tar.gz build/iris-linux-arm64 - name: Publish Release uses: softprops/action-gh-release@v2 with: body_path: RELEASE.md files: | - build/iris-linux-amd64-${ GITHUB_REF_NAME }.tar.gz - build/iris-linux-arm64-${ GITHUB_REF_NAME }.tar.gz \ No newline at end of file + build/iris-linux-amd64 + build/iris-linux-arm64 \ No newline at end of file From 8f25fe1cbed426bf2e6e20c4130dd042149eda17 Mon Sep 17 00:00:00 2001 From: zhangyelong Date: Wed, 5 Jun 2024 10:47:07 +0800 Subject: [PATCH 6/6] remove test contents --- RELEASE.md | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 704606370..1333ed77b 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,16 +1 @@ -## 0.2.0 - -*July 19th, 2018* - -BREAKING CHANGES: - -* [tendermint] Upgrade to Tendermint v0.21.0 -* [cosmos-sdk] Upgrade to cosmos-sdk v0.19.1-rc1 - -FEATURES: - -* [lcd] code refactor - -* [cli] improve sendingand querying the transactions - -* [monitor]export data which is collected by Prometheus Server +TODO