1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 01:27:01 +00:00

chore: update goreleaser to v2 (#533)

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2024-09-29 12:11:14 -07:00
committed by GitHub
parent 5284171dc5
commit f140cf7989
2 changed files with 6 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ on:
- main
tags:
- 'v*'
pull_request:
workflow_dispatch:
jobs:
release:
@@ -40,14 +40,16 @@ jobs:
uses: goreleaser/goreleaser-action@v6
if: "!startsWith(github.ref, 'refs/tags/v')"
with:
version: latest
distribution: goreleaser
version: "~> v2"
args: release --snapshot
- name: Build and publish release
uses: goreleaser/goreleaser-action@v6
if: "startsWith(github.ref, 'refs/tags/v')"
with:
version: latest
distribution: goreleaser
version: "~> v2"
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,3 +1,4 @@
version: 2 # goreleaser version
project_name: inbucket
release: