This is an automated email from the ASF dual-hosted git repository.
pdesai pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git
The following commit(s) were added to refs/heads/master by this push:
new 621d8e0 Add docs for publishing to Homebrew (#968)
621d8e0 is described below
commit 621d8e0f304aad177f363a66c98eee0f58a711f8
Author: Justin Halsall <[email protected]>
AuthorDate: Wed Aug 29 13:45:10 2018 -0400
Add docs for publishing to Homebrew (#968)
---
docs/creating_tagged_releases.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/docs/creating_tagged_releases.md b/docs/creating_tagged_releases.md
index e9ce07b..77d2f5d 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
+```