From ea8f22b90d48a457a28625b9ac9705bc1f39fdf9 Mon Sep 17 00:00:00 2001 From: Philipp Grathwohl Date: Wed, 2 Mar 2022 12:32:32 +0100 Subject: [PATCH 1/2] Fix readme links for the main repository --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cf2789f..9e47003 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # CraftBeerPi 4 -[![Build](https://github.com/avollkopf/craftbeerpi4/actions/workflows/build.yml/badge.svg)](https://github.com/avollkopf/craftbeerpi4/actions/workflows/build.yml) -[![GitHub license](https://img.shields.io/github/license/avollkopf/craftbeerpi4)](https://github.com/avollkopf/craftbeerpi4/blob/master/LICENSE) -![GitHub issues](https://img.shields.io/github/issues-raw/Manuel83/craftbeerpi4) +[![Build](https://github.com/craftbeerpi/craftbeerpi4/actions/workflows/build.yml/badge.svg)](https://github.com/craftbeerpi/craftbeerpi4/actions/workflows/build.yml) +[![GitHub license](https://img.shields.io/github/license/craftbeerpi/craftbeerpi4)](https://github.com/craftbeerpi/craftbeerpi4/blob/master/LICENSE) +![GitHub issues](https://img.shields.io/github/issues-raw/craftbeerpi/craftbeerpi4) ![PyPI](https://img.shields.io/pypi/v/cbpi) ![Happy Brewing](https://img.shields.io/badge/CraftBeerPi%204-Happy%20Brewing-%23FBB117)

- CraftBeerPi Logo + CraftBeerPi Logo

CraftBeerPi 4 is an open source software solution to control the brewing and @@ -24,4 +24,4 @@ You can find a list of available plugins [here](https://openbrewing.gitbook.io/c ## 🧑‍🤝‍🧑 Contributers Thanks to all the people who have contributed -[![contributors](https://contributors-img.web.app/image?repo=avollkopf/craftbeerpi4)](https://github.com/avollkopf/craftbeerpi4/graphs/contributors) +[![contributors](https://contributors-img.web.app/image?repo=craftbeerpi/craftbeerpi4)](https://github.com/craftbeerpi/craftbeerpi4/graphs/contributors) From 2bde0e42ae7237b40d31afef5eaebdad831319d9 Mon Sep 17 00:00:00 2001 From: Philipp Grathwohl Date: Tue, 15 Mar 2022 08:13:00 +0100 Subject: [PATCH 2/2] Allow 3 part version numbers --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39d9296..c874afc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,7 +61,7 @@ jobs: if [[ $GITHUB_REF_NAME == master ]] || [[ $GITHUB_REF_NAME == main ]]; then # when building master/main use :latest tag and the version number # from the cbpi/__init__.py file - VERSION=$(grep -o -E "(([0-9]{1,2}[.]?){3}[0-9]+)" cbpi/__init__.py) + VERSION=$(grep -o -E "(([0-9]{1,2}[.]?){2,3}[0-9]+)" cbpi/__init__.py) LATEST_IMAGE=${{ env.image-name }}:latest BUILD_CACHE_IMAGE_NAME=${LATEST_IMAGE} TAGS="${LATEST_IMAGE},${{ env.image-name }}:v${VERSION}"