From 2a8819c2e3fe5d478efe627e90da1b9ba0779b84 Mon Sep 17 00:00:00 2001 From: Xeek Date: Tue, 26 Nov 2024 16:32:09 -0600 Subject: [PATCH] fix: force config file for release please --- .github/workflows/release-please.yml | 3 +-- .release-please-manifest.json | 3 +++ release-please-config.json | 21 +++++++++------------ 3 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 .release-please-manifest.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 6eef43e..37d53f1 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -29,7 +29,6 @@ jobs: id: release with: token: ${{ secrets.RELEASE_PLEASE_TOKEN }} - release-type: simple build-x64: name: Build x64 Release @@ -54,7 +53,7 @@ jobs: publish: name: Publish Release runs-on: ubuntu-latest - needs: [release,build-x64, build-x86] + needs: [release,build-x64,build-x86] if: ${{ needs.release.outputs.releases_created }} steps: - name: Checkout code diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..d0a2c8d --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.2.0" +} \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json index 89d4b5d..4a7bcf9 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,14 +1,11 @@ { - "release-type": "simple", - "extra-files": [ - "source/version.h", - "version.txt", - { - "type": "regex", - "path": "source/resource.rc", - "regex": "(?\\d+),(?\\d+),(?\\d+)(-(?[\\w.]+))?(\\+(?[-\\w.]+))?", - "replacement": "${major},${minor},${patch}${preRelease?'-${preRelease}'}${build?'+${build}'}" - } - ] + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "simple", + "extra-files": [ + "source/version.h", + "source/resources.rc" + ], + "packages": { + ".": {} } - \ No newline at end of file +} \ No newline at end of file