diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 177d473..130a913 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: push: # run only against tags tags: - - 'v[0-9]+.[0-9]+.[0-9]+' + - '[0-9]+.[0-9]+.[0-9]+' permissions: contents: write diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 66ac9b6..b850288 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -53,7 +53,7 @@ release: # If you want to manually examine the release before its live, uncomment this line: # draft: true snapshot: - name_template: "{{ .Tag }}-next" + name_template: "v{{ .Tag }}-next" changelog: skip: true gomod: @@ -81,7 +81,7 @@ gomod: announce: teams: enabled: false - title_template: 'Terraform Provider csd {{ .Tag }} was just released!' - message_template: 'Awesome terraform provider {{.Tag}} is out!' + title_template: 'Terraform Provider csd v{{ .Tag }} was just released!' + message_template: 'Awesome terraform provider v{{.Tag}} is out!' color: '#2D313E' #icon_url: 'https://csd.aws.idealo.cloud/avatar.png'