aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli/combined-release.yml
diff options
context:
space:
mode:
author简律纯 <hsiangnianian@outlook.com>2023-04-28 01:36:44 +0800
committer简律纯 <hsiangnianian@outlook.com>2023-04-28 01:36:44 +0800
commitdd84b9d64fb98746a230cd24233ff50a562c39c9 (patch)
treeb583261ef00b3afe72ec4d6dacb31e57779a6faf /cli/combined-release.yml
parent0b46fcd72ac34382387b2bcf9095233efbcc52f4 (diff)
downloadHydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.tar.gz
HydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.zip
Diffstat (limited to 'cli/combined-release.yml')
-rw-r--r--cli/combined-release.yml78
1 files changed, 78 insertions, 0 deletions
diff --git a/cli/combined-release.yml b/cli/combined-release.yml
new file mode 100644
index 0000000..6b85013
--- /dev/null
+++ b/cli/combined-release.yml
@@ -0,0 +1,78 @@
+project_name: turbo
+
+dist: dist
+
+builds:
+ - id: turbo
+ builder: prebuilt
+ tags:
+ - rust
+ - staticbinary
+ goos:
+ - linux
+ - windows
+ - darwin
+ goarch:
+ - amd64
+ - arm64
+ goamd64:
+ - v1
+ prebuilt:
+ path: dist-combined/turbo_{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ .}}{{ end }}/bin/turbo{{ .Ext }}
+ hooks:
+ pre:
+ - cmd: ./scripts/npm-native-packages/npm-native-packages.js {{ .Os }} {{ .Arch }} {{ .Version }}
+ binary: bin/turbo
+checksum:
+ name_template: "checksums.txt"
+snapshot:
+ name_template: "{{ incpatch .Version }}"
+archives:
+ - id: github
+ name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
+ wrap_in_directory: true
+ replacements:
+ amd64: 64
+ format: tar.gz
+ format_overrides:
+ - goos: windows
+ format: zip
+ files:
+ - LICENSE
+ - README.md
+ - id: npm
+ name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
+ wrap_in_directory: true
+ replacements:
+ amd64: 64
+ format: tar.gz
+ files:
+ - LICENSE
+ - src: "scripts/npm-native-packages/build/{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}/package.json"
+ dst: "workaround/.."
+ strip_parent: true
+ - src: "scripts/npm-native-packages/build/{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}/README.md"
+ dst: "workaround/.."
+ strip_parent: true
+ - src: "scripts/npm-native-packages/build/{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}/bin/*"
+ dst: "bin/"
+ strip_parent: true
+changelog:
+ sort: asc
+ filters:
+ exclude:
+ - "^docs:"
+ - "^test:"
+release:
+ github:
+ owner: vercel
+ name: turborepo
+ ids:
+ - github
+ prerelease: auto
+ disable: true
+publishers:
+ - name: npm
+ ids:
+ - npm
+ cmd: "npm publish{{ if .Prerelease }} --tag canary{{ end }} {{ abs .ArtifactPath }}"