From 3ac8db31069ffbbecaddc92a4d80d9ee2f3de2bf Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Fri, 28 Feb 2025 18:20:23 +0200 Subject: [PATCH] nextcloud container: fix version number (#32593) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- .github/workflows/containers.build.yaml | 3 +++ containers/apps/nextcloud-fpm/VERSION | 1 - .../apps/nextcloud-fpm/{latest-version.sh => get-version.sh} | 0 3 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 containers/apps/nextcloud-fpm/VERSION rename containers/apps/nextcloud-fpm/{latest-version.sh => get-version.sh} (100%) diff --git a/.github/workflows/containers.build.yaml b/.github/workflows/containers.build.yaml index 032f6e90179..af5ae955e87 100644 --- a/.github/workflows/containers.build.yaml +++ b/.github/workflows/containers.build.yaml @@ -114,6 +114,9 @@ jobs: if test -f "./containers/apps/${{ matrix.container }}/VERSION"; then CATEGORY="apps" VERSION=$(cat ./containers/${CATEGORY}/${{ matrix.container }}/VERSION) + elif test -f "./containers/apps/${{ matrix.container }}/get-version.sh"; then + CATEGORY="apps" + VERSION=$(bash ./containers/${CATEGORY}/${{ matrix.container }}/get-version.sh) elif test -f "./containers/apps/${{ matrix.container }}/Dockerfile"; then CATEGORY="apps" echo ::set-output name=category::${CATEGORY} diff --git a/containers/apps/nextcloud-fpm/VERSION b/containers/apps/nextcloud-fpm/VERSION deleted file mode 100644 index 8dd5c17a1b5..00000000000 --- a/containers/apps/nextcloud-fpm/VERSION +++ /dev/null @@ -1 +0,0 @@ -30.0.0 diff --git a/containers/apps/nextcloud-fpm/latest-version.sh b/containers/apps/nextcloud-fpm/get-version.sh similarity index 100% rename from containers/apps/nextcloud-fpm/latest-version.sh rename to containers/apps/nextcloud-fpm/get-version.sh