From 89ffc7ef488da5366adbb985a2603e078d9aa5a8 Mon Sep 17 00:00:00 2001 From: sthope Date: Sun, 5 Sep 2021 06:09:00 +0200 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7996bad..c38b492 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,16 +1,13 @@ kind: pipeline +name: default steps: -- name: publish - image: plugins/docker +- name: semantic-release + image: entwico/semantic-release settings: - repo: sthopeless/website-example - username: - from_secret: docker_username - password: - from_secret: docker_password - tags: - - latest - - ${DRONE_TAG} - auto_tag: true - force_tag: true \ No newline at end of file + mode: release # "release" means the actual release and "predict" means to generate the version in dry run to use it e.g. before build + version_file: .release-version # the file where the version will be persisted, defaults to .release-version + git_user_name: Sthope # semantic release committer name (git config user.name) + git_login: sthope + git_password: + from_secret: sthopegit \ No newline at end of file