diff --git a/.drone.yml b/.drone.yml index 8b17aa1..e288d0d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,11 +13,13 @@ steps: - cd build - cmake .. - make + - echo "GITEA_RELEASE_TITLE=$(controller --version)" > /drone/src/release_env - name: gitea_prerelease image: plugins/gitea-release settings: prerelease: true + env-file: release_env api_key: from_secret: gitea_token base_url: https://git.serguzim.me @@ -26,7 +28,6 @@ steps: - build/controller.ini when: branch: testing - event: tag - name: gitea_release image: plugins/gitea-release @@ -38,5 +39,4 @@ steps: - build/controller - build/controller.ini when: - branch: master event: tag