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

klesh pushed a commit to branch kw-makeswag-ci-failed
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit b81c8098c8ecf9a980cdc26bd99678fb38c58ad2
Author: Klesh Wong <[email protected]>
AuthorDate: Mon Oct 30 17:29:38 2023 +0800

    chore: fixing swag ci
---
 backend/scripts/swag.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/backend/scripts/swag.sh b/backend/scripts/swag.sh
index a33b5af4e..09283c838 100755
--- a/backend/scripts/swag.sh
+++ b/backend/scripts/swag.sh
@@ -36,8 +36,9 @@ if [ -n "$DEVLAKE_PLUGINS" ]; then
   fi
 fi
 
+swag -v
 ls -l
-tree
+go get
 echo swag init --parseDependency --parseInternal -o $ROOT_DIR/server/api/docs 
-g $GENERAL_API_INFO_PATH -d $DOC_DIRS
 swag init --parseDependency --parseInternal -o $ROOT_DIR/server/api/docs -g 
$GENERAL_API_INFO_PATH -d $DOC_DIRS
 echo "visit the swagger document on http://localhost:8080/swagger/index.html";;
\ No newline at end of file

Reply via email to