Skip to content

Commit

Permalink
adding go releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
owenrumney committed Jun 7, 2021
1 parent 73511fb commit d151cf9
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: go-sarif release
on:
push:
tags:
- "v*.*.*"

jobs:
build:
name: releasing go-sarif
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Release
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ coverage.txt
# Dependency directories (remove the comment below to include it)
# vendor/
.idea/
dist/
14 changes: 14 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
builds:
- skip: true

release:
github:
owner: owenrumney
name: go-sarif

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit d151cf9

Please sign in to comment.