|
| 1 | +# You can find the GoReleaser documentation at http://goreleaser.com |
| 2 | +project_name: exercism |
| 3 | + |
| 4 | +builds: |
| 5 | +- env: |
| 6 | + - CGO_ENABLED=0 |
| 7 | + main: ./exercism/main.go |
| 8 | + goos: |
| 9 | + - darwin |
| 10 | + - linux |
| 11 | + - windows |
| 12 | + - freebsd |
| 13 | + - openbsd |
| 14 | + goarch: |
| 15 | + - amd64 |
| 16 | + - 386 |
| 17 | + - arm |
| 18 | + - ppc64 |
| 19 | + goarm: |
| 20 | + - 5 |
| 21 | + - 6 |
| 22 | + ignore: |
| 23 | + - goos: openbsd |
| 24 | + goarch: arm |
| 25 | + - goos: freebsd |
| 26 | + goarch: arm |
| 27 | + |
| 28 | +checksum: |
| 29 | + name_template: '{{ .ProjectName }}_checksums.txt' |
| 30 | + |
| 31 | +changelog: |
| 32 | + sort: asc |
| 33 | + filters: |
| 34 | + exclude: |
| 35 | + - '^docs:' |
| 36 | + - '^test:' |
| 37 | + |
| 38 | +archives: |
| 39 | + - name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" |
| 40 | + replacements: |
| 41 | + amd64: x86_64 |
| 42 | + 386: i386 |
| 43 | + format_overrides: |
| 44 | + - goos: windows |
| 45 | + format: zip |
| 46 | + files: |
| 47 | + - shell/**/* |
| 48 | + - LICENSE |
| 49 | + - README.md |
| 50 | + |
| 51 | +signs: |
| 52 | +- artifacts: checksum |
| 53 | + |
| 54 | +release: |
| 55 | + # Repo in which the release will be created. |
| 56 | + # Default is extracted from the origin remote URL. |
| 57 | + github: |
| 58 | + name: cli |
| 59 | + |
| 60 | + # If set to true, will not auto-publish the release. |
| 61 | + # Default is false. |
| 62 | + draft: true |
| 63 | + |
| 64 | + # If set to auto, will mark the release as not ready for production |
| 65 | + # in case there is an indicator for this in the tag e.g. v1.0.0-rc1 |
| 66 | + # If set to true, will mark the release as not ready for production. |
| 67 | + # Default is false. |
| 68 | + prerelease: auto |
| 69 | + |
| 70 | + # You can change the name of the GitHub release. |
| 71 | + # Default is `{{.Tag}}` |
| 72 | + name_template: "{{.ProjectName}}-v{{.Version}} {{.Env.USER}}" |
| 73 | + |
| 74 | +snapcrafts: |
| 75 | + - |
| 76 | + name: exercism-cli |
| 77 | + license: MIT |
| 78 | + # Whether to publish the snap to the snapcraft store. |
| 79 | + # Remember you need to `snapcraft login` first. |
| 80 | + # Defaults to false. |
| 81 | + # publish: true |
| 82 | + summary: Command-line client for https://exercism.io |
| 83 | + # https://snapcraft.io/docs/reference/confinement |
| 84 | + confinement: strict |
| 85 | + # A snap of type base to be used as the execution environment for this snap. |
| 86 | + base: core18 |
| 87 | + # https://snapcraft.io/docs/reference/channels |
| 88 | + grade: stable |
| 89 | + description: Exercism is an online platform designed to help you improve your coding skills through practice and mentorship. Exercism provides you with thousands of exercises spread across numerous language tracks. Each one is a fun and interesting challenge designed to teach you a little more about the features of a language. |
| 90 | + name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" |
| 91 | + replacements: |
| 92 | + amd64: x86_64 |
| 93 | + 386: i386 |
| 94 | + apps: |
| 95 | + exercism: |
| 96 | + plugs: ["home", "network", "removable-media"] |
| 97 | + |
| 98 | + |
| 99 | +# [TODO] |
| 100 | +# brews: |
| 101 | +# - |
| 102 | +# # Name template of the recipe |
| 103 | +# # Default to project name |
| 104 | +# name: myproject |
| 105 | +# |
| 106 | +# # IDs of the archives to use. |
| 107 | +# # Defaults to all. |
| 108 | +# ids: |
| 109 | +# - foo |
| 110 | +# - bar |
| 111 | +# |
| 112 | +# |
| 113 | +# # NOTE: make sure the url_template, the token and given repo (github or gitlab) owner and name are from the |
| 114 | +# # same kind. We will probably unify this in the next major version like it is done with scoop. |
| 115 | +# |
| 116 | +# # Github repository to push the tap to. |
| 117 | +# github: |
| 118 | +# owner: github-user |
| 119 | +# name: homebrew-tap |
| 120 | +# |
| 121 | +# # OR Gitlab |
| 122 | +# # gitlab: |
| 123 | +# # owner: gitlab-user |
| 124 | +# # name: homebrew-tap |
| 125 | +# |
| 126 | +# # Template for the url which is determined by the given Token (github or gitlab) |
| 127 | +# # Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}" |
| 128 | +# # Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/uploads/{{ .ArtifactUploadHash }}/{{ .ArtifactName }}" |
| 129 | +# url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}" |
| 130 | +# |
| 131 | +# # Allows you to set a custom download strategy. |
| 132 | +# # Default is empty. |
| 133 | +# download_strategy: GitHubPrivateRepositoryReleaseDownloadStrategy |
| 134 | +# |
| 135 | +# # Allows you to add a custom require_relative at the top of the formula template |
| 136 | +# # Default is empty |
| 137 | +# custom_require: custom_download_strategy |
| 138 | +# |
| 139 | +# # Git author used to commit to the repository. |
| 140 | +# # Defaults are shown. |
| 141 | +# commit_author: |
| 142 | +# name: goreleaserbot |
| 143 | + |
| 144 | +# |
| 145 | +# # Folder inside the repository to put the formula. |
| 146 | +# # Default is the root folder. |
| 147 | +# folder: Formula |
| 148 | +# |
| 149 | +# # Caveats for the user of your binary. |
| 150 | +# # Default is empty. |
| 151 | +# caveats: "How to use this binary" |
| 152 | +# |
| 153 | +# # Your app's homepage. |
| 154 | +# # Default is empty. |
| 155 | +# homepage: "https://example.com/" |
| 156 | +# |
| 157 | +# # Your app's description. |
| 158 | +# # Default is empty. |
| 159 | +# description: "Software to create fast and easy drum rolls." |
| 160 | +# |
| 161 | +# # Setting this will prevent goreleaser to actually try to commit the updated |
| 162 | +# # formula - instead, the formula file will be stored on the dist folder only, |
| 163 | +# # leaving the responsibility of publishing it to the user. |
| 164 | +# # If set to auto, the release will not be uploaded to the homebrew tap |
| 165 | +# # in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1 |
| 166 | +# # Default is false. |
| 167 | +# skip_upload: true |
| 168 | +# |
| 169 | +# # Custom block for brew. |
| 170 | +# # Can be used to specify alternate downloads for devel or head releases. |
| 171 | +# # Default is empty. |
| 172 | +# custom_block: | |
| 173 | +# head "https://github.com/some/package.git" |
| 174 | +# ... |
| 175 | +# |
| 176 | +# # Packages your package depends on. |
| 177 | +# dependencies: |
| 178 | +# - git |
| 179 | +# - zsh |
| 180 | +# |
| 181 | +# # Packages that conflict with your package. |
| 182 | +# conflicts: |
| 183 | +# - svn |
| 184 | +# - bash |
| 185 | +# |
| 186 | +# # Specify for packages that run as a service. |
| 187 | +# # Default is empty. |
| 188 | +# plist: | |
| 189 | +# <?xml version="1.0" encoding="UTF-8"?> |
| 190 | +# ... |
| 191 | +# |
| 192 | +# # So you can `brew test` your formula. |
| 193 | +# # Default is empty. |
| 194 | +# test: | |
| 195 | +# system "#{bin}/program --version" |
| 196 | +# ... |
| 197 | +# |
| 198 | +# # Custom install script for brew. |
| 199 | +# # Default is 'bin.install "program"'. |
| 200 | +# install: | |
| 201 | +# bin.install "program" |
| 202 | +# ... |
| 203 | +# |
0 commit comments