Skip to content

Commit

Permalink
fix version management
Browse files Browse the repository at this point in the history
  • Loading branch information
josephgodwinkimani committed Jan 7, 2025
1 parent 13f94ab commit efc7b37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion baseTemplate/templates/baseTemplate/versionManagment.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h3 class="title-hero">
}

// Call the function to get all branches
getBranches('https://api.github.com/repos/usmannasir/cyberpanel/branches', [], 1);
getBranches('https://api.github.com/repos/josephgodwinkimani/cyberpanel/branches', [], 1);

function upgradeCyberPanel() {
try {
Expand Down
6 changes: 3 additions & 3 deletions baseTemplate/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
ab = {'package': 'helo world', 'Themename': 'blue-green-theme'}

url= "http://cyberpanel.net/version.txt"
#url= "https://api.github.com/repos/usmannasir/CyberPanel-Themes/git/commits/def351a6eb4c103fb2dd2acf52396d4ef6111eee"
#url= "https://api.github.com/repos/josephgodwinkimani/CyberPanel-Themes/git/commits/def351a6eb4c103fb2dd2acf52396d4ef6111eee"


res=requests.get(url)
Expand All @@ -16,11 +16,11 @@
print(a)
print(res)

u = "https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v%s"%a
u = "https://api.github.com/repos/josephgodwinkimani/cyberpanel/commits?sha=v%s"%a
r= requests.get(u)

print(r.text)
# l ="https://api.github.com/repos/usmannasir/CyberPanel-Themes/git/trees/%s"%sha
# l ="https://api.github.com/repos/josephgodwinkimani/CyberPanel-Themes/git/trees/%s"%sha
# fres=requests.get(l)
#
# print(fres.json())
Expand Down

0 comments on commit efc7b37

Please sign in to comment.