From 0567a60397c41078c1de65caba56ccad9d6fe652 Mon Sep 17 00:00:00 2001 From: Danielo Rodriguez Date: Tue, 12 Sep 2023 16:36:46 +0200 Subject: [PATCH] chore: move configuration to manifest --- .github/workflows/release.yml | 12 ++++-------- release-please-config.json | 8 +++++--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57bef743..bce8d5d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,3 @@ -name: Release - on: push: branches: @@ -9,6 +7,7 @@ permissions: contents: write pull-requests: write +name: Release jobs: release: runs-on: ubuntu-latest @@ -26,12 +25,9 @@ jobs: uses: google-github-actions/release-please-action@v3 id: release with: - token: ${{ secrets.GITHUB_TOKEN }} - release-type: node - include-v-in-tag: false - package-name: obsidian-modal-form - extra-files: | - manifest.json + command: manifest + token: ${{secrets.GITHUB_TOKEN}} + default-branch: main - name: Sync version with manifest and versions.json run: node version-bump.mjs - uses: stefanzweifel/git-auto-commit-action@v4 diff --git a/release-please-config.json b/release-please-config.json index 826a6b2f..ab6338b1 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,5 +1,7 @@ { - "packages": { - ".": {} - } + "release-type": "node", + "include-v-in-tag": false, + "packages": { + ".": {} + } }