Skip to content

Commit ba48dcd

Browse files
author
Katrina Owen
authored
Merge pull request #891 from exercism/goreleaser-brew-updates
Fixed links in changelog, updated goreleaser config to fix snapcraft name and improve / cleanup comments
2 parents 0b03f0d + f17637d commit ba48dcd

File tree

3 files changed

+8
-109
lines changed

3 files changed

+8
-109
lines changed

.goreleaser.yml

Lines changed: 4 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,12 @@ release:
7272
# Default is `{{.Tag}}`
7373
name_template: "{{.ProjectName}}-v{{.Version}} {{.Env.USER}}"
7474

75+
# brews:
76+
# We do not use the brew config, which is for taps, not core forumulas.
77+
7578
snapcrafts:
7679
-
77-
name: exercism-cli
80+
name: exercism
7881
license: MIT
7982
# Whether to publish the snap to the snapcraft store.
8083
# Remember you need to `snapcraft login` first.
@@ -95,110 +98,3 @@ snapcrafts:
9598
apps:
9699
exercism:
97100
plugs: ["home", "network", "removable-media"]
98-
99-
100-
# [TODO]
101-
# brews:
102-
# -
103-
# # Name template of the recipe
104-
# # Default to project name
105-
# name: myproject
106-
#
107-
# # IDs of the archives to use.
108-
# # Defaults to all.
109-
# ids:
110-
# - foo
111-
# - bar
112-
#
113-
#
114-
# # NOTE: make sure the url_template, the token and given repo (github or gitlab) owner and name are from the
115-
# # same kind. We will probably unify this in the next major version like it is done with scoop.
116-
#
117-
# # Github repository to push the tap to.
118-
# github:
119-
# owner: github-user
120-
# name: homebrew-tap
121-
#
122-
# # OR Gitlab
123-
# # gitlab:
124-
# # owner: gitlab-user
125-
# # name: homebrew-tap
126-
#
127-
# # Template for the url which is determined by the given Token (github or gitlab)
128-
# # Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
129-
# # Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/uploads/{{ .ArtifactUploadHash }}/{{ .ArtifactName }}"
130-
# url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}"
131-
#
132-
# # Allows you to set a custom download strategy.
133-
# # Default is empty.
134-
# download_strategy: GitHubPrivateRepositoryReleaseDownloadStrategy
135-
#
136-
# # Allows you to add a custom require_relative at the top of the formula template
137-
# # Default is empty
138-
# custom_require: custom_download_strategy
139-
#
140-
# # Git author used to commit to the repository.
141-
# # Defaults are shown.
142-
# commit_author:
143-
# name: goreleaserbot
144-
145-
#
146-
# # Folder inside the repository to put the formula.
147-
# # Default is the root folder.
148-
# folder: Formula
149-
#
150-
# # Caveats for the user of your binary.
151-
# # Default is empty.
152-
# caveats: "How to use this binary"
153-
#
154-
# # Your app's homepage.
155-
# # Default is empty.
156-
# homepage: "https://example.com/"
157-
#
158-
# # Your app's description.
159-
# # Default is empty.
160-
# description: "Software to create fast and easy drum rolls."
161-
#
162-
# # Setting this will prevent goreleaser to actually try to commit the updated
163-
# # formula - instead, the formula file will be stored on the dist folder only,
164-
# # leaving the responsibility of publishing it to the user.
165-
# # If set to auto, the release will not be uploaded to the homebrew tap
166-
# # in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
167-
# # Default is false.
168-
# skip_upload: true
169-
#
170-
# # Custom block for brew.
171-
# # Can be used to specify alternate downloads for devel or head releases.
172-
# # Default is empty.
173-
# custom_block: |
174-
# head "https://github.com/some/package.git"
175-
# ...
176-
#
177-
# # Packages your package depends on.
178-
# dependencies:
179-
# - git
180-
# - zsh
181-
#
182-
# # Packages that conflict with your package.
183-
# conflicts:
184-
# - svn
185-
# - bash
186-
#
187-
# # Specify for packages that run as a service.
188-
# # Default is empty.
189-
# plist: |
190-
# <?xml version="1.0" encoding="UTF-8"?>
191-
# ...
192-
#
193-
# # So you can `brew test` your formula.
194-
# # Default is empty.
195-
# test: |
196-
# system "#{bin}/program --version"
197-
# ...
198-
#
199-
# # Custom install script for brew.
200-
# # Default is 'bin.install "program"'.
201-
# install: |
202-
# bin.install "program"
203-
# ...
204-
#

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ All changes by [@msgehard]
423423
* Build on Travis
424424

425425
[@AlexWheeler]: https://github.com/AlexWheeler
426+
[@avegner]: https://github.com/avegner
426427
[@Dparker1990]: https://github.com/Dparker1990
427428
[@John-Goff]: https://github.com/John-Goff
428429
[@LegalizeAdulthood]: https://github.com/LegalizeAdulthood
@@ -446,6 +447,7 @@ All changes by [@msgehard]
446447
[@dpritchett]: https://github.com/dpritchett
447448
[@eToThePiIPower]: https://github.com/eToThePiIPower
448449
[@ebautistabar]: https://github.com/ebautistabar
450+
[@ekingery]: https://github.com/ekingery
449451
[@elimisteve]: https://github.com/elimisteve
450452
[@ests]: https://github.com/ests
451453
[@farisj]: https://github.com/farisj
@@ -457,6 +459,7 @@ All changes by [@msgehard]
457459
[@jdsutherland]: https://github.com/jdsutherland
458460
[@jgsqware]: https://github.com/jgsqware
459461
[@jish]: https://github.com/jish
462+
[@Jrank2013]: https://github.com/Jrank2013
460463
[@jppunnett]: https://github.com/jppunnett
461464
[@katrinleinweber]: https://github.com/katrinleinweber
462465
[@kytrinyx]: https://github.com/kytrinyx

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ brew update
9292
brew bump-formula-pr --strict exercism --url=https://github.com/exercism/cli/archive/vX.Y.Z.tar.gz --sha256=$SHA
9393
```
9494

95-
For more information see their [contribution guidelines](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged).
95+
For more information see [How To Open a Homebrew Pull Request](https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request).
9696

9797
## Update the docs site
9898

0 commit comments

Comments
 (0)