Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Merge PR #170: Update goreleaser workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
jtieri authored Jun 7, 2022
1 parent ef5901b commit 9f0d3c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "(WARNING: ALPHA SOFTWARE)"
name: "Release"

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
- '*' # Run release on any tag. Will be marked as draft by default anyway.

jobs:
goreleaser:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.17

- run: echo https://github.com/strangelove-ventures/lens/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md
- name: Run GoReleaser
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ checksum:
algorithm: sha256

release:
prerelease: auto
draft: true
name_template: "{{ .Version }} - (WARNING: ALPHA SOFTWARE)"

0 comments on commit 9f0d3c7

Please sign in to comment.