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

commit cba7321d22152329578030406cd9539ad3af849f
Author: Michele Sciabarra <[email protected]>
AuthorDate: Mon Jul 22 10:17:06 2024 +0200

    patches update
---
 patches/README.md       | 6 +++++-
 patches/update-gomod.sh | 8 ++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/patches/README.md b/patches/README.md
index ede0849..293e323 100644
--- a/patches/README.md
+++ b/patches/README.md
@@ -27,7 +27,7 @@ This is the procedure we followed to build the patched 
versions of:
    fork github.com/apache/openwhisk-wskdeploy in 
github.com/sciabarracom/openwhisk-wskdeploy
 
 3. git submodule update --init, 
-   then add remote orig-auth ian authentication token so you can push it  back
+   then add remote orig-auth with an url with an authentication token so you 
can push it  back
    then add remote upstream to the original repos to fetch tags
    then git fetch --all
 
@@ -37,3 +37,7 @@ This is the procedure we followed to build the patched 
versions of:
    bash patch-task.sh
    bash patch-wskdeploy.sh
    bash patch-wsk.sh
+
+4. update the main repo
+
+
diff --git a/patches/update-gomod.sh b/patches/update-gomod.sh
new file mode 100644
index 0000000..624c7e8
--- /dev/null
+++ b/patches/update-gomod.sh
@@ -0,0 +1,8 @@
+cd "$(dirname $0)"
+git ls-remote https://github.com/sciabarracom/task | awk 
'/refs\/heads\/openserverless/{print $1}' >_task.hash
+git ls-remote https://github.com/sciabarracom/openwhisk-cli | awk 
'/refs\/heads\/openserverless/{print $1}' >_wsk.hash
+cd ..
+go get github.com/sciabarracom/task/v3@$(cat patches/_task.hash)
+go get github.com/sciabarracom/openwhisk-cli@$(cat patches/_wsk.hash)
+go mod tidy
+

Reply via email to