Skip to content

Commit

Permalink
fix: add archive overwrite and tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kha7iq committed May 27, 2023
1 parent 64dd111 commit 8bd87d6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/choco/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@ builds:
- amd64
flags:
- -trimpath
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
- -s -w -X main.version={{ .Version }} -X main.commitSHA={{.Commit}}
archives:
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
rlcp: true

release:
disable: true

Expand All @@ -29,7 +44,7 @@ chocolateys:
project_source_url: https://github.com/kha7iq/ncp
docs_url: https://ncp.lmno.pk
bug_tracker_url: https://github.com/kha7iq/ncp/issues
release_notes: "https://github.com/kha7iq/ncp/releases/tag/v{{ .Version }}"
release_notes: 'https://github.com/kha7iq/ncp/releases/tag/v{{ .Version }}'
summary: Effortlessly transfer files and folders, to and from your NFS server.
description: |
# NCP (NFS Copy)
Expand All @@ -50,4 +65,5 @@ chocolateys:
ncp --help
```
api_key: '{{ .Env.CHOCOLATEY_API_KEY }}'
tags: 'ncp network nfs3 nfs4 copy upload'

0 comments on commit 8bd87d6

Please sign in to comment.