Skip to content

bump: version 0.3.0 → 0.3.1 #10

bump: version 0.3.0 → 0.3.1

bump: version 0.3.0 → 0.3.1 #10

Workflow file for this run

name: Go
on:
push:
tags: '[0-9].[0-9].[0-9]'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build -v
- name: Test
env:
EMAIL: gommitizen@localhost
GIT_AUTHOR_NAME: gommitizen
run: go test -v ./...
- name: Copy, tag with version and create SHA256 checksum
run: |
mkdir -p releases
cp ./gommitizen releases/gommitizen
sha256sum gommitizen > releases/gommitizen.sha256
- name: Create a new GitHub release
uses: softprops/[email protected]
with:
files: |
releases/gommitizen
releases/gommitizen.sha256