github.com/defang-io/defang/src@v0.0.0-20240505002154-bdf411911834/.goreleaser.yml (about) 1 # yaml-language-server: $schema=https://goreleaser.com/static/schema.json 2 project_name: defang 3 builds: 4 - id: defang-mac 5 main: ./cmd/cli 6 binary: defang 7 goos: 8 - darwin 9 goarch: 10 - amd64 11 - arm64 12 hooks: 13 post: 14 - ./bin/codesign.sh "{{ .Path }}" 15 16 - id: defang-cli 17 main: ./cmd/cli 18 binary: defang 19 goos: 20 - linux 21 - windows 22 goarch: 23 - amd64 24 - arm64 25 26 source: 27 enabled: false 28 29 universal_binaries: 30 - id: defang-macfat 31 ids: 32 - defang-mac 33 replace: true 34 hooks: 35 post: 36 - ./bin/codesign.sh "{{ .Path }}" 37 38 archives: 39 - format_overrides: 40 - goos: darwin 41 format: zip 42 - goos: windows 43 format: zip 44 # replace "darwin" with "macOS" in the filename; replace "all" with ""; NOTE: if you change this, also change go.yml GitHub Actions workflow 45 name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}{{ if ne .Arch "all" }}_{{ .Arch }}{{ end }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}' 46 47 release: 48 github: 49 owner: defang-io 50 name: defang 51 header: | 52 # Defang CLI 53 This is the Command Line Interface (CLI) for [Defang](https://defang.io). This is a beta version and is provided as-is, intended primarily for testing purposes. 54 For alternative installation methods, please check the [README](https://github.com/defang-io/defang/blob/main/README.md). 55 ## Manual installation Instructions 56 1. Download the archive file for your Operating System. 57 2. Extract the archive. This should reveal the binary file for Defang. 58 3. Manually place the binary file in a directory that's included in your system's `PATH` environment variable. 59 ### Additional Step for MacOS Users 60 If you're having trouble running the binary on MacOS, please check our [FAQs](https://docs.defang.io/docs/faq#im-having-trouble-running-the-binary-on-my-mac-what-should-i-do). 61 62 Please remember this software is in beta, so please report any issues or feedback through our GitHub page. Your help in improving Defang is greatly appreciated! 63 # mode: keep-existing 64 # draft: true 65 # replace_existing_draft: true 66 # prerelease: "true" 67 68 nix: 69 # commit_author: defang-io 70 - homepage: https://defang.io/ 71 description: Command-line interface for the Defang Opinionated Platform 72 license: "mit" 73 repository: 74 owner: defang-io 75 name: defang 76 77 changelog: 78 filters: 79 exclude: 80 # Ignore messages like "defang: v0.5.3 -> v0.5.4" (which are actually for the previous version) 81 - "^defang: v[0-9]+\\.[0-9]+\\.[0-9]+ -> v[0-9]+\\.[0-9]+\\.[0-9]+$"