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 diff --git a/source/resources.rc b/source/resources.rc index 65cefd5..257544e 100644 Binary files a/source/resources.rc and b/source/resources.rc differ diff --git a/source/version.h b/source/version.h index 1325e59..bd165c0 100644 --- a/source/version.h +++ b/source/version.h @@ -1,2 +1,2 @@ #pragma once -constexpr const wchar_t APP_VERSION[] = L"1.2.0"; +constexpr const wchar_t APP_VERSION[] = L"1.2.0"; // x-release-please-version