From 8bb1880a5b7282c91493eb0194cbcf5e413ffcab Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sat, 28 Sep 2024 19:37:23 +0200 Subject: [PATCH] automatically push minor versions --- .woodpecker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5773c34..ceb149c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,7 +5,9 @@ steps: - "wget https://git.ar21.de/aaron/nextcloud-docker/raw/branch/master/versions.json" - "cat versions.json | jq -r '.[].branch' > versions.txt" - "cat versions.txt" + - "cat versions.json | jq -r '.[].version' > full.txt" - "git clone https://git.ar21.de/aaron/nextcloud-fpm.git" + - "cp full.txt nextcloud-fpm/versions.txt" - "./patch.sh" - name: git push changes image: appleboy/drone-git-push @@ -15,6 +17,6 @@ steps: path: nextcloud-fpm force: false commit: true - commit_message: "Update Nextcloud Major versions" + commit_message: "Automatically update Nextcloud versions" ssh_key: from_secret: FORGEJO_SSH_KEY