Skip to content

Commit

Permalink
Merge pull request #71 from F5Networks/devel_release_yaml
Browse files Browse the repository at this point in the history
fix release yaml
  • Loading branch information
RavinderReddyF5 authored Oct 24, 2024
2 parents 62797f5 + c559408 commit c99c105
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .goreleaser.yml → .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
#before:
# hooks:
# # this is just an example and not a requirement for provider building/publishing
# - go mod tidy
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com

# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 2

# before:
# hooks:
# # You may remove this if you don't use go modules.
# - go mod tidy
# # you may remove this if you don't need go generate
# - go generate ./...

builds:
- env:
# goreleaser does not work with CGO, it could also complicate
Expand All @@ -29,6 +40,7 @@ builds:
- goos: darwin
goarch: '386'
binary: '{{ .ProjectName }}_v{{ .Version }}'

archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
Expand Down Expand Up @@ -56,5 +68,6 @@ release:
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
# If you want to manually examine the release before its live, uncomment this line:
# draft: true

changelog:
skip: true
sort: asc

0 comments on commit c99c105

Please sign in to comment.