Skip to content

Commit

Permalink
Merge pull request #891 from exercism/goreleaser-brew-updates
Browse files Browse the repository at this point in the history
Fixed links in changelog, updated goreleaser config to fix snapcraft name and improve / cleanup comments
  • Loading branch information
Katrina Owen authored Oct 24, 2019
2 parents 0b03f0d + f17637d commit ba48dcd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 109 deletions.
112 changes: 4 additions & 108 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,12 @@ release:
# Default is `{{.Tag}}`
name_template: "{{.ProjectName}}-v{{.Version}} {{.Env.USER}}"

# brews:
# We do not use the brew config, which is for taps, not core forumulas.

snapcrafts:
-
name: exercism-cli
name: exercism
license: MIT
# Whether to publish the snap to the snapcraft store.
# Remember you need to `snapcraft login` first.
Expand All @@ -95,110 +98,3 @@ snapcrafts:
apps:
exercism:
plugs: ["home", "network", "removable-media"]


# [TODO]
# brews:
# -
# # Name template of the recipe
# # Default to project name
# name: myproject
#
# # IDs of the archives to use.
# # Defaults to all.
# ids:
# - foo
# - bar
#
#
# # NOTE: make sure the url_template, the token and given repo (github or gitlab) owner and name are from the
# # same kind. We will probably unify this in the next major version like it is done with scoop.
#
# # Github repository to push the tap to.
# github:
# owner: github-user
# name: homebrew-tap
#
# # OR Gitlab
# # gitlab:
# # owner: gitlab-user
# # name: homebrew-tap
#
# # Template for the url which is determined by the given Token (github or gitlab)
# # Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# # Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/uploads/{{ .ArtifactUploadHash }}/{{ .ArtifactName }}"
# url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}"
#
# # Allows you to set a custom download strategy.
# # Default is empty.
# download_strategy: GitHubPrivateRepositoryReleaseDownloadStrategy
#
# # Allows you to add a custom require_relative at the top of the formula template
# # Default is empty
# custom_require: custom_download_strategy
#
# # Git author used to commit to the repository.
# # Defaults are shown.
# commit_author:
# name: goreleaserbot
# email: goreleaser@carlosbecker.com
#
# # Folder inside the repository to put the formula.
# # Default is the root folder.
# folder: Formula
#
# # Caveats for the user of your binary.
# # Default is empty.
# caveats: "How to use this binary"
#
# # Your app's homepage.
# # Default is empty.
# homepage: "https://example.com/"
#
# # Your app's description.
# # Default is empty.
# description: "Software to create fast and easy drum rolls."
#
# # Setting this will prevent goreleaser to actually try to commit the updated
# # formula - instead, the formula file will be stored on the dist folder only,
# # leaving the responsibility of publishing it to the user.
# # If set to auto, the release will not be uploaded to the homebrew tap
# # in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# # Default is false.
# skip_upload: true
#
# # Custom block for brew.
# # Can be used to specify alternate downloads for devel or head releases.
# # Default is empty.
# custom_block: |
# head "https://github.com/some/package.git"
# ...
#
# # Packages your package depends on.
# dependencies:
# - git
# - zsh
#
# # Packages that conflict with your package.
# conflicts:
# - svn
# - bash
#
# # Specify for packages that run as a service.
# # Default is empty.
# plist: |
# <?xml version="1.0" encoding="UTF-8"?>
# ...
#
# # So you can `brew test` your formula.
# # Default is empty.
# test: |
# system "#{bin}/program --version"
# ...
#
# # Custom install script for brew.
# # Default is 'bin.install "program"'.
# install: |
# bin.install "program"
# ...
#
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ All changes by [@msgehard]
* Build on Travis

[@AlexWheeler]: https://github.com/AlexWheeler
[@avegner]: https://github.com/avegner
[@Dparker1990]: https://github.com/Dparker1990
[@John-Goff]: https://github.com/John-Goff
[@LegalizeAdulthood]: https://github.com/LegalizeAdulthood
Expand All @@ -446,6 +447,7 @@ All changes by [@msgehard]
[@dpritchett]: https://github.com/dpritchett
[@eToThePiIPower]: https://github.com/eToThePiIPower
[@ebautistabar]: https://github.com/ebautistabar
[@ekingery]: https://github.com/ekingery
[@elimisteve]: https://github.com/elimisteve
[@ests]: https://github.com/ests
[@farisj]: https://github.com/farisj
Expand All @@ -457,6 +459,7 @@ All changes by [@msgehard]
[@jdsutherland]: https://github.com/jdsutherland
[@jgsqware]: https://github.com/jgsqware
[@jish]: https://github.com/jish
[@Jrank2013]: https://github.com/Jrank2013
[@jppunnett]: https://github.com/jppunnett
[@katrinleinweber]: https://github.com/katrinleinweber
[@kytrinyx]: https://github.com/kytrinyx
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ brew update
brew bump-formula-pr --strict exercism --url=https://github.com/exercism/cli/archive/vX.Y.Z.tar.gz --sha256=$SHA
```

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).
For more information see [How To Open a Homebrew Pull Request](https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request).

## Update the docs site

Expand Down

0 comments on commit ba48dcd

Please sign in to comment.