File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - name : Checkout
11- uses : actions/checkout@v4
11+ uses : actions/checkout@v6
1212 with :
1313 # we have to fetch all history to be able to generate the release note. c.f. https://goreleaser.com/ci/actions/.
1414 fetch-depth : 0
1515 - name : Set up Go
16- uses : actions/setup-go@v5
16+ uses : actions/setup-go@v6
1717 with :
18- go-version-file : " go.mod "
18+ go-version : ' stable ' # Latest stable version
1919 check-latest : true
2020 - name : Run GoReleaser
21- uses : goreleaser/goreleaser-action@v4
21+ uses : goreleaser/goreleaser-action@v6
2222 with :
2323 distribution : goreleaser
24- version : 1.17.1
24+ version : ' ~> v2 '
2525 args : release --clean
2626 env :
2727 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 44# you may not use this file except in compliance with the License.
55# You may obtain a copy of the License at
66#
7- # http:# www.apache.org/licenses/LICENSE-2.0
7+ # http:// www.apache.org/licenses/LICENSE-2.0
88#
99# Unless required by applicable law or agreed to in writing, software
1010# distributed under the License is distributed on an "AS IS" BASIS,
1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14+ version : 2
1415before :
1516 hooks :
1617 - go mod tidy
@@ -55,8 +56,6 @@ archives:
5556 {{.Binary}}_{{.Version}}_{{$prettyOS}}_{{$prettyArch}}
5657checksum :
5758 name_template : ' checksums.txt'
58- snapshot :
59- name_template : " {{ .Tag }}-next"
6059release :
6160 draft : false
62- name_template : " HAProxy Ingress Controller v{{.Version}} "
61+ name_template : ' {{- if .IsSnapshot }}{{ .Tag }}-next{{ else }} HAProxy Ingress Controller v{{ .Version }}{{ end -}} '
You can’t perform that action at this time.
0 commit comments