Skip to content

Commit

Permalink
fix: force config file for release please
Browse files Browse the repository at this point in the history
  • Loading branch information
xeekworx committed Nov 26, 2024
1 parent 161e9b1 commit 247418b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: simple

build-x64:
name: Build x64 Release
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.2.0"
}
21 changes: 9 additions & 12 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"release-type": "simple",
"extra-files": [
"source/version.h",
"version.txt",
{
"type": "regex",
"path": "source/resource.rc",
"regex": "(?<major>\\d+),(?<minor>\\d+),(?<patch>\\d+)(-(?<preRelease>[\\w.]+))?(\\+(?<build>[-\\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": {
".": {}
}
}
Binary file modified source/resources.rc
Binary file not shown.
2 changes: 1 addition & 1 deletion source/version.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 247418b

Please sign in to comment.