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/11/16 17:01:04 UTC

[GitHub] Juice10 commented on a change in pull request #366: Add docs for publishing tagged releases to brew

Juice10 commented on a change in pull request #366: Add docs for publishing tagged releases to brew
URL: https://github.com/apache/incubator-openwhisk-cli/pull/366#discussion_r234277894
 
 

 ##########
 File path: CONTRIBUTING.md
 ##########
 @@ -80,3 +80,17 @@ Please provide information that helps the developer test any changes they make b
 ## Coding style guidelines
 
 Use idomatic go. Document exported functions.
+
+# Publishing Tagged Release to Homebrew
+
+ [Homebrew](https://brew.sh) is used to install `wsk` locally. Once we release a new version of `wsk` 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-cli/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-cli/archive/X.Y.Z.tar.gz' \
 
 Review comment:
   Hi @houshengbo, you have to provide a valid link there yourself taken from the [releases page](https://github.com/apache/incubator-openwhisk-cli/releases) for example for version 0.9.0: https://github.com/apache/incubator-openwhisk-cli/archive/0.9.0-incubating.tar.gz 
   
   I'm happy to change the wording to make it more clear if you'd like.

----------------------------------------------------------------
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