Skip to content

Commit

Permalink
ci: fix deprecations within goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-paul-t committed Jan 17, 2023
1 parent 5c79c93 commit ff334c3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022 Gemba Advantage
# Copyright (c) 2023 Gemba Advantage
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -55,12 +55,15 @@ archives:
- id: uplift-archive
format: tar.gz
name_template: |-
{{ .ProjectName }}_{{ .Version }}_{{ .Os }}-{{ .Arch }}
{{ .ProjectName }}_
{{- .Version }}
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
builds:
- uplift
replacements:
386: i386
amd64: x86_64
rlcp: true
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit ff334c3

Please sign in to comment.