diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e9673730..9f6aeef3c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: "Release" on: push: tags: - - '*' # Run release on any tag. Will be marked as draft by default anyway. + - 'v*.*.*-alpha.*' # Run release on any tag. Will be marked as draft by default anyway. jobs: goreleaser: @@ -17,9 +17,15 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20 + go-version: 1.19 - - run: echo https://github.com/cosmos/relayer/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md + # setup gopath + - name: Set PATH + run: | + echo "$(go env GOPATH)/bin" >> $GITHUB_PATH + shell: bash + + - run: echo https://github.com/icon-project/ibc-relay/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md - name: setup release environment run: |- diff --git a/.goreleaser.yaml b/.goreleaser.yaml index f976a7dd0..a965ce851 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,5 +1,4 @@ -project_name: Cosmos Relayer - +project_name: ibc-relay builds: - id: darwin-amd64 main: ./main.go @@ -14,7 +13,7 @@ builds: flags: - -mod=readonly ldflags: - - -s -w -X github.com/cosmos/relayer/v2/cmd.Version={{ .Tag }} + - -s -w -X github.com/icon-project/ibc-relay/v2/cmd.Version={{ .Tag }} - id: darwin-arm64 main: ./main.go binary: rly @@ -28,7 +27,7 @@ builds: flags: - -mod=readonly ldflags: - - -s -w -X github.com/cosmos/relayer/v2/cmd.Version={{ .Tag }} + - -s -w -X github.com/icon-project/ibc-relay/v2/cmd.Version={{ .Tag }} - id: linux-amd64 main: ./main.go binary: rly @@ -42,7 +41,7 @@ builds: flags: - -mod=readonly ldflags: - - -s -w -X github.com/cosmos/relayer/v2/cmd.Version={{ .Tag }} + - -s -w -X github.com/icon-project/ibc-relay/v2/cmd.Version={{ .Tag }} - id: linux-arm64 main: ./main.go binary: rly diff --git a/README.md b/README.md index bb1c76ebd..1a3daffce 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ ![banner](./docs/images/comp.gif) [![Project Status: Initial Release](https://img.shields.io/badge/repo%20status-active-green.svg?style=flat-square)](https://www.repostatus.org/#active) -![GitHub Workflow Status](https://github.com/cosmos/relayer/actions/workflows/build.yml/badge.svg) +![GitHub Workflow Status](https://github.com/icon-project/ibc-relay/actions/workflows/build.yml/badge.svg) [![GoDoc](https://img.shields.io/badge/godoc-reference-blue?style=flat-square&logo=go)](https://godoc.org/github.com/cosmos/relayer) -[![Go Report Card](https://goreportcard.com/badge/github.com/cosmos/relayer)](https://goreportcard.com/report/github.com/cosmos/relayer) -[![License: Apache-2.0](https://img.shields.io/github/license/cosmos/relayer.svg?style=flat-square)](https://github.com/cosmos/relayer/blob/main/LICENSE) -[![Lines Of Code](https://img.shields.io/tokei/lines/github/cosmos/relayer?style=flat-square)](https://github.com/cosmos/relayer) -[![Version](https://img.shields.io/github/tag/cosmos/relayer.svg?style=flat-square)](https://github.com/cosmos/relayer/latest) +[![Go Report Card](https://goreportcard.com/badge/github.com/icon-project/ibc-relay)](https://goreportcard.com/report/github.com/icon-project/ibc-relay) +[![License: Apache-2.0](https://img.shields.io/github/license/icon-project/ibc-relay.svg?style=flat-square)](https://github.com/icon-project/ibc-relay/blob/main/LICENSE) +[![Lines Of Code](https://img.shields.io/tokei/lines/github/icon-project/ibc-relay?style=flat-square)](https://github.com/icon-project/ibc-relay) +[![Version](https://img.shields.io/github/tag/icon-project/ibc-relay.svg?style=flat-square)](https://github.com/icon-project/ibc-relay/latest) [![codecov](https://codecov.io/gh/icon-project/ibc-relay/branch/main/graph/badge.svg?token=3OSG4KPSPZ)](https://codecov.io/gh/icon-project/ibc-relay)