From d06335cd4fba3e9ad3282ce44fbd132edecb2e2d Mon Sep 17 00:00:00 2001 From: cinco euzebio Date: Sat, 28 Feb 2026 22:56:07 -0300 Subject: [PATCH] ci: renomear branch master para main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Atualiza referĂȘncias de master para main em .drone.yml e README.md. Co-Authored-By: Claude Sonnet 4.6 --- .drone.yml | 6 +++--- README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index d3bf2a1..025a020 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,13 +35,13 @@ steps: echo "Content length: ${#CONTENT}" SHA_RESP=$(curl -s \ -H "Authorization: token $GITEA_TOKEN" \ - "https://git.cincoeuzebio.com/api/v1/repos/cinco/Tmuxido/contents/badges/coverage.svg?ref=master") + "https://git.cincoeuzebio.com/api/v1/repos/cinco/Tmuxido/contents/badges/coverage.svg?ref=main") echo "SHA response: $SHA_RESP" SHA=$(echo "$SHA_RESP" | jq -r '.sha // empty') echo "SHA: '$SHA'" if [ -n "$SHA" ]; then PAYLOAD=$(jq -n --arg msg "ci: update coverage badge [CI SKIP]" \ - --arg content "$CONTENT" --arg sha "$SHA" --arg branch "master" \ + --arg content "$CONTENT" --arg sha "$SHA" --arg branch "main" \ '{message: $msg, content: $content, sha: $sha, branch: $branch}') RESPONSE=$(curl -s -X PUT \ -H "Authorization: token $GITEA_TOKEN" \ @@ -50,7 +50,7 @@ steps: -d "$PAYLOAD") else PAYLOAD=$(jq -n --arg msg "ci: add coverage badge [CI SKIP]" \ - --arg content "$CONTENT" --arg branch "master" \ + --arg content "$CONTENT" --arg branch "main" \ '{message: $msg, content: $content, branch: $branch}') RESPONSE=$(curl -s -X POST \ -H "Authorization: token $GITEA_TOKEN" \ diff --git a/README.md b/README.md index e6906f7..60bd97c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # tmuxido [![Build Status](https://drone.cincoeuzebio.com/api/badges/cinco/Tmuxido/status.svg)](https://drone.cincoeuzebio.com/cinco/Tmuxido) -[![Coverage](https://git.cincoeuzebio.com/cinco/Tmuxido/raw/branch/master/badges/coverage.svg)](https://drone.cincoeuzebio.com/cinco/Tmuxido) +[![Coverage](https://git.cincoeuzebio.com/cinco/Tmuxido/raw/branch/main/badges/coverage.svg)](https://drone.cincoeuzebio.com/cinco/Tmuxido) [![Version](https://img.shields.io/gitea/v/release/cinco/Tmuxido?gitea_url=https%3A%2F%2Fgit.cincoeuzebio.com&label=version)](https://git.cincoeuzebio.com/cinco/Tmuxido/releases) ![Rust 2024](https://img.shields.io/badge/rust-edition_2024-orange?logo=rust)