WIP: Add UpdateChecker cog #14

Draft
cswimr wants to merge 37 commits from updatechecker into main
Showing only changes of commit 84532af05e - Show all commits

View file

@ -30,13 +30,15 @@ jobs:
unset GITHUB_TOKEN unset GITHUB_TOKEN
unset GITLAB_TOKEN unset GITLAB_TOKEN
echo "${{ github.ref_name }}" echo "github.ref = ${{ github.ref }}"
echo "${{ github.base_ref }}" echo "github.base_ref = ${{ github.base_ref }}"
echo "(Basename) github.ref = $(basename "${{ github.ref }}")"
echo "(Basename) github.base_ref = $(basename "${{ github.base_ref }}")"
if [ -n "${{ github.base_ref }}" ]; then if [ -n "${{ github.base_ref }}" ]; then
release="$(basename "${{ github.base_ref }}")" release="$(basename "${{ github.base_ref }}")"
else else
release="$(basename "${{ github.ref_name }}")" release="$(basename "${{ github.ref }}")"
fi fi
echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$release${YELLOW}...\n" echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$release${YELLOW}...\n"