Skip to content

v2.0.0-rc04-drs3

v2.0.0-rc04-drs3 #4

Workflow file for this run

---
name: Release Binary
on:
release:
types: [created]
permissions: write-all
# This workflow creates a release using goreleaser
# via the 'make release' command.
jobs:
release:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: go.mod
- name: Setup release environment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |-
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env
- name: Extract TM_VERSION
run: echo "TM_VERSION=$(go list -m github.com/tendermint/tendermint | sed 's:.* ::')" >> $GITHUB_ENV
- name: Extract BECH32_PREFIX
run: echo BECH32_PREFIX=mock >> $GITHUB_ENV
- name: Release publish
run: make release