Skip to content

Commit c347913

Browse files
committed
feat(ci): customize goreleaser config file, by adding json schema and fixing configuration version
1 parent 5a6d67b commit c347913

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.goreleaser.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2+
13
# Copyright 2021 Google LLC
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,6 +16,8 @@
1416

1517
# This is an example goreleaser.yaml file with some sane defaults.
1618
# Make sure to check the documentation at http://goreleaser.com
19+
20+
version: 2
1721
before:
1822
hooks:
1923
- go mod download

0 commit comments

Comments
 (0)