From a3e9791a73f4c4c7d52db34d9d06d6bb681f1127 Mon Sep 17 00:00:00 2001 From: Igor Date: Mon, 27 Jan 2025 15:22:16 +0300 Subject: [PATCH] ci(manual release): fix main branch name --- .github/workflows/manual_release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual_release.yaml b/.github/workflows/manual_release.yaml index 3a50698..0560f6f 100644 --- a/.github/workflows/manual_release.yaml +++ b/.github/workflows/manual_release.yaml @@ -33,13 +33,13 @@ jobs: - name: Commit version id: commit_version run: | - git commit -m "chore(release): ${{ github.event.inputs.tag }}" custom_components/ha_tion_btle/manifest.json || true + git commit -m "chore(release): ${{ github.event.inputs.tag }}" custom_components/ha_tion_btle/manifest.json - name: Update id: update_tag run: | - git push origin main && \ - git tag -f -a -m "v${{ github.event.inputs.tag }}" v${{ github.event.inputs.tag }} && git push -f --tags || true + git push origin master && \ + git tag -f -a -m "v${{ github.event.inputs.tag }}" v${{ github.event.inputs.tag }} && git push -f --tags release: name: "Create release"