Skip to content

Commit

Permalink
Merge pull request #2 from lildude/actions-for-releases
Browse files Browse the repository at this point in the history
Actions for releases
  • Loading branch information
lildude committed Feb 24, 2021
2 parents 0137d29 + 1ce301f commit cf46f80
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Releaser

on:
push:
tags:
- '*'

jobs:
goreleaser:
name: Make Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '^1.15'
- uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ func main() {

I've written this myself from scratch, heavily influenced by the methods implemented in <https://github.com/billglover/starling>, as a project to help practice Go, but also because I found the Swagger Codegen'd code quite cumbersome, ugly and without any tests. The generated code is also not Go modules friendly and requires bundling with your application. You can see what I've managed to generate in the repo at <https://github.com/lildude/runalyze-generated>.

## Releasing

This project uses [GoReleaser](https://goreleaser.com) via GitHub Actions to make the releases quick and easy. When I'm ready for a new release, I push a new tag and the workflow takes care of things.

## Todo

- Add support for uploading activities

0 comments on commit cf46f80

Please sign in to comment.