This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-cli.git


The following commit(s) were added to refs/heads/main by this push:
     new be51338  fix patch-wsk
be51338 is described below

commit be51338d54b8edc451f459cd83c22e2a9e7f403b
Author: Michele Sciabarra <[email protected]>
AuthorDate: Sat Jul 20 12:00:49 2024 +0200

    fix patch-wsk
---
 patches/patch-wsk.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/patches/patch-wsk.sh b/patches/patch-wsk.sh
index 4523164..52d9fc4 100644
--- a/patches/patch-wsk.sh
+++ b/patches/patch-wsk.sh
@@ -18,14 +18,13 @@ do echo $file
    sed -i 's!apache/openwhisk-cli$!sciabarracom/openwhisk-cli!' $file
    sed -i 's!apache/openwhisk-wskdeploy!sciabarracom/openwhisk-wskdeploy!' 
$file
 done
-go clean -modcache -cache -testcache -fuzzcache
 sed -i '/openwhisk-wskdeploy/d' go.mod
 DEPLOYVER=$(git ls-remote https://github.com/sciabarracom/openwhisk-wskdeploy 
| awk '/refs\/heads\/openserverless/{print $1}')
 go get github.com/sciabarracom/openwhisk-wskdeploy@$DEPLOYVER
 go mod tidy
 git commit -m "patching sh for ops" -a
 git push origin-auth openserverless -f
+go clean -modcache -cache -testcache -fuzzcache
 VER=$(git rev-parse HEAD)
-
-GOBIN=$HERE go install github.com/sciabarracom/task/v3/cmd/task@$VER
+GOBIN=$HERE go install github.com/sciabarracom/openwhisk-cli@$VER
 

Reply via email to