You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/08/29 17:45:12 UTC

[GitHub] pritidesai closed pull request #968: Add docs for publishing to Homebrew

pritidesai closed pull request #968: Add docs for publishing to Homebrew
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/968
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/creating_tagged_releases.md b/docs/creating_tagged_releases.md
index e9ce07b8..77d2f5d4 100644
--- a/docs/creating_tagged_releases.md
+++ b/docs/creating_tagged_releases.md
@@ -43,3 +43,17 @@ If the travis build passed, binaries will be pushed into releases page.
 If we modify the tag by pointing to a different commit, use ```git push -f upstream 0.8.9<tag>``` to overwrite the old tag. New binaries from travis build will overwrite the old binaries as well.
 
 You can download the binaries, and delete them from the releases page in GitHub if we do not want them to be public.
+
+# Publishing Tagged Release to Homebrew
+
+[Homebrew](https://brew.sh) is used to install `wskdeploy` locally. Once we release a new version of `wskdeploy` we should update its version in homebrew.
+
+Get the new release SHA256 checksum by downloading the Source Code (tar.gz) from the [releases page](https://github.com/apache/incubator-openwhisk-wskdeploy/releases) and running `shasum -a 256 X.Y.Z.tar.gz` on the tarball.
+
+Update brew formula with the automation command `brew bump-formula-pr`:
+```bash
+$ brew bump-formula-pr \
+  --url='https://github.com/apache/incubator-openwhisk-wskdeploy/archive/X.Y.Z.tar.gz' \
+  --sha256='PASTE THE SHA256 CHECKSUM HERE' \
+  wskdeploy
+```


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services