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

jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new a79773e6c5 Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)
a79773e6c5 is described below

commit a79773e6c538671f4b646ccf04264f8f2e7ccc75
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Wed Jan 3 13:15:44 2024 +0100

    Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)
    
    Updates the documentation for pullAllPluginsSource.sh and 
pullPluginSource.sh
    
    Seems that, despite working locally in Ubuntu 20.04 and git-bash, changing
    pullAllPluginsSource.sh from
    git switch "$branch"
    to
    git switch -C "$branch"
    does not work as expected in GH actions.
    
    Another incomprehensible behaviour...so far...
---
 pullAllPluginsSource.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pullAllPluginsSource.sh b/pullAllPluginsSource.sh
index 0551811f74..fd69ddc790 100755
--- a/pullAllPluginsSource.sh
+++ b/pullAllPluginsSource.sh
@@ -33,7 +33,7 @@ cd plugins
 # By default the clone branch is trunk
 if [ ! $branch = trunk ]
     then
-        git switch -C "$branch"
+        git switch "$branch"
 fi
 
 # remove .git, in this case it's big useless information

Reply via email to