fix cli, add upgrade handler #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- v[0-9]+.* | |
jobs: | |
build_static_bin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build statically linked binaries | |
run: | | |
mkdir artifacts | |
docker build -t chain:static -f Dockerfile.static . | |
id=$(docker create chain:static) | |
docker cp $id:/usr/bin/odind artifacts/odind-${{ github.ref_name }}-linux-amd64 | |
docker cp $id:/usr/bin/yoda artifacts/yoda-${{ github.ref_name }}-linux-amd64 | |
docker cp $id:/usr/bin/kvasir artifacts/kvasir-${{ github.ref_name }}-linux-amd64 | |
docker rm -v $id | |
- name: Create checksums | |
working-directory: artifacts | |
run: sha256sum * > checksums.txt && cat checksums.txt | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: | | |
artifacts/** |