-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup: split goreleaser config into unix and windows
- Loading branch information
Showing
3 changed files
with
77 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
project_name: cpm | ||
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: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- windows | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
archives: | ||
- format: zip | ||
checksum: | ||
name_template: 'checksums.txt' | ||
snapshot: | ||
name_template: "{{ incpatch .Version }}-next" | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
chocolateys: | ||
- | ||
name: cpm | ||
owners: COZ | ||
title: Contract Package Manager | ||
authors: Erik van den Brink | ||
project_url: https://github.com/CityOfZion/cpm | ||
url_template: "https://github.com/CityOfZion/cpm/releases/download/{{ .Tag }}/{{ .ArtifactName }}" | ||
copyright: 2023 COZ | ||
require_license_acceptance: false | ||
project_source_url: https://github.com/CityOfZion/cpm | ||
docs_url: https://github.com/CityOfZion/cpm/blob/master/README.md | ||
bug_tracker_url: https://github.com/CityOfZion/cpm/issues | ||
tags: 'neo neo3 blockchain contract package-manager manager sdk golang csharp python java typescript ts' | ||
summary: NEO Blockchain Contract Package Manager | ||
description: | | ||
{{ .ProjectName }} installer package. | ||
Download selected contracts from a chain to your local chain for development purposes. | ||
Generate SDKs for selected contracts to work with. | ||
release_notes: "https://github.com/CityOfZion/cpm/releases/tag/v{{ .Version }}" | ||
api_key: '{{ .Env.CHOCOLATEY_API_KEY }}' | ||
source_repo: "https://push.chocolatey.org/" | ||
skip_publish: false | ||
|
||
# Github release | ||
release: | ||
draft: true | ||
replace_existing_draft: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters