Skip to content

Commit 40f9da1

Browse files
authoredMar 21, 2022
fixes for go-releaser configuration (cosmos#1148)
* set the pre-release status if the tag contains alpha, beta or rc * add separate filter for final releases
1 parent 163fbc4 commit 40f9da1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Release
33
on:
44
push:
55
tags:
6-
- 'v[0-9]+.[0-9]+.[0-9]+-?[a-z0-9]*' # Push events to matching v*, i.e. v1.0.0, v20.15.10, v3.0.0-alpha1
6+
- 'v[0-9]+.[0-9]+.[0-9]+' # Push events to matching v*, i.e. v1.0.0, v20.15.10
7+
- 'v[0-9]+.[0-9]+.[0-9]+-?[a-z0-9]+' # Push events to matching v*-[alpha/beta/rc], i.e. v3.0.0-alpha1, v3.0.0-beta1, v3.0.0-rc0
78

89
jobs:
910
goreleaser:

‎.goreleaser.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ checksum:
2424

2525
release:
2626
mode: keep-existing
27+
prerelease: auto
2728

2829
archives:
2930
- name_template: "{{ .ProjectName }}_simd_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
@@ -32,4 +33,4 @@ archives:
3233
- README.md
3334
- RELEASES.md
3435
- SECURITY.md
35-
- CHANGELOG.md
36+
- CHANGELOG.md

0 commit comments

Comments
 (0)
Please sign in to comment.