From c4bb8c010ae56927699b94dc1fda60b8f910edd6 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 26 Sep 2022 19:27:08 +0900 Subject: [PATCH] added a rpm release step in .drone.yml --- .drone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.drone.yml b/.drone.yml index 381cbcbb..cd78924a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,3 +14,16 @@ steps: - find . -exec touch -r {} + - mkdir -p bld/rockylinux-9 && cd bld/rockylinux-9 - ../../configure && make && make check && make rpm + + - name: rockylinux-9-release-rpms + image: docker.io/plugins/gitea-release:latest + settings: + files: + - "bld/rockylinux-9/pkgs/RPM/RPMS/*/*.rpm" + - "bld/rockylinux-9/pkgs/RPM/SRPMS/*.src.rpm" + base_url: https://code.miflux.com + api_key: + from_secret: gitea-api-key-to-code-miflux-com + when: + event: + - tag