generated from Templates/Baseline
adds tea cli in gitea block
This commit is contained in:
parent
e648c50c62
commit
6b159995cd
12
arkanum
12
arkanum
|
@ -129,10 +129,20 @@ function instPwsh() {
|
|||
}
|
||||
|
||||
function instGiteaTools() {
|
||||
TEA_VERSION="0.9.0"
|
||||
CHANGELOG_VERSION="main"
|
||||
say "Installing Gitea tools..." "Gitea"
|
||||
sudo -E curl -fsSL https://dl.gitea.io/changelog-tool/main/changelog-main-linux-amd64 -o /usr/bin/changelog
|
||||
|
||||
say "Downloading 'changelog' ($CHANGELOG_VERSION)..." "Gitea"
|
||||
sudo -E curl -fsSL "https://dl.gitea.io/changelog-tool/$CHANGELOG_VERSIN/changelog-$CHANGELOG_VERSION-linux-amd64" -o /usr/bin/changelog
|
||||
sudo chmod +x /usr/bin/changelog
|
||||
say "'changelog' command installed." "Gitea"
|
||||
|
||||
say "Downloading 'tea' ($TEA_VERSION)..." "Gitea"
|
||||
sudo -E curl -fsSL https://dl.gitea.io/tea/$TEA_VERSION/tea-$TEA_VERSION-linux-amd64 -o /usr/bin/tea
|
||||
sudo chmod +x /usr/bin/tea
|
||||
say "'tea' command installed." "Gitea"
|
||||
|
||||
say "done." "Gitea"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue