Adds gitea changelog config #19

Merged
OCram85 merged 6 commits from changelog into master 2022-11-19 18:36:02 +01:00
2 changed files with 12 additions and 2 deletions
Showing only changes of commit 6b33435ec1 - Show all commits

12
arkanum
View File

@ -123,7 +123,15 @@ function instPwsh() {
# Install PowerShell
sudo apt-get install --no-install-recommends -y powershell
echo "done." "PowerShell"
say "done." "PowerShell"
}
function instGiteaTools() {
say "Installing Gitea tools..." "Gitea"
sudo curl -sSl https://dl.gitea.io/changelog-tool/main/changelog-main-linux-amd64 -o /usr/bin/changelog
sudo chmod +x /usr/bin/changelog
say "'changelog' command installed." "Gitea"
say "done." "Gitea"
}
function setCodeSettings() {
@ -163,6 +171,8 @@ function main() {
instNodeJs
elif [[ "$i" == "powershell" ]]; then
instPwsh
elif [[ "$i" == "gitea" ]]; then
instGiteaTools
elif [[ "$i" == "--disable-motd" ]]; then
disableMotd
exit 0

View File

@ -1,3 +1,3 @@
#!/bin/bash
complete -W "--disable-motd --reset-codesetting dotnet golang nodejs powershell -h" arkanum
complete -W "--disable-motd --reset-codesetting dotnet gitea golang nodejs powershell -h" arkanum