Skip to content

Commit

Permalink
Add tendermint version setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Nikitin authored and ankurdotb committed Aug 12, 2022
1 parent cff6a5c commit 6d2de0f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
with:
go-version: '1.17'

- name: Set tendermint version
id: set-tm-version
run: |
TM_VERSION=$(go list -m github.com/tendermint/tendermint | sed 's:.* ::')
echo ::set-output name=TM_VERSION::"$TM_VERSION"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
Expand All @@ -37,6 +43,7 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TM_VERSION: ${{ steps.set-tm-version.outputs.TM_VERSION }}

release-docker-images:
name: "Publish Docker images for new version"
Expand Down

0 comments on commit 6d2de0f

Please sign in to comment.