Skip to content

Commit

Permalink
Added output to show git clone commands
Browse files Browse the repository at this point in the history
  • Loading branch information
twdbben committed Jan 7, 2025
1 parent 5591ef8 commit 2470496
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/ckan/plugins/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ def install(self):
git = f"git clone"
if(self.branch != ""):
git = f"git clone -b {self.branch}"
print(git)
if(self.tag != ""):
git = f"git clone -b {self.tag}"
print(git)

git = git + f" --depth 1 https://{GH_TOKEN}@github.com/{self.owner}/{self.repo} ./{self.repo}"

Expand All @@ -47,4 +49,4 @@ def install(self):
p["cmd"]
)

plugin.install()
plugin.install()

0 comments on commit 2470496

Please sign in to comment.