github.com/Finschia/finschia-sdk@v0.48.1/.github/workflows/tag.yml (about)

     1  name: Release
     2  # This workflow helps with creating releases.
     3  # This job will only be triggered when a tag (vX.X.x) is pushed
     4  on:
     5    push:
     6      tags:
     7        - 'v[0-9]+.[0-9]+.[0-9]+*' # Push events to matching v*, i.e. v1.0, v20.15.10
     8  jobs:
     9    release:
    10      runs-on: ubuntu-latest
    11      steps:
    12        - uses: actions/checkout@v3
    13          with:
    14            fetch-depth: 0
    15        - run: git fetch --force --tags
    16        - name: Build & Publish release
    17          run: |
    18            make release
    19          env:
    20            GORELEASER_MOUNT_CONFIG: true
    21            GORELEASER_IMAGE: goreleaser/goreleaser-cross:v1.21-v1.20.0
    22            GORELEASER_RELEASE: true
    23            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}