From 0b8be541860272427e83060594ad2d4129e7bb5b Mon Sep 17 00:00:00 2001 From: Norwin Date: Fri, 26 Aug 2022 23:34:40 +0800 Subject: [PATCH] Rename master branch to main (#495) This updates drone CI to use the new main branch name `main`. ### :warning: breaking The download URLs on https://dl.gitea.io/tea/master will no longer be updated. @Owners: is there a way to add a redirect for these URLs from `/tea/master` to `/tea/main`? Co-authored-by: Norwin Reviewed-on: https://gitea.com/gitea/tea/pulls/495 Co-authored-by: Norwin Co-committed-by: Norwin --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index df3ad24..dbc39eb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -43,7 +43,7 @@ steps: GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not when: branch: - - master + - main event: - push - pull_request @@ -156,7 +156,7 @@ steps: endpoint: https://ams3.digitaloceanspaces.com source: "dist/release/*" strip_prefix: dist/release/ - target: /tea/master + target: /tea/main environment: AWS_ACCESS_KEY_ID: from_secret: aws_access_key_id @@ -164,7 +164,7 @@ steps: from_secret: aws_secret_access_key when: branch: - - master + - main event: - push