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 2a8819c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 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": {
".": {}
}
}

0 comments on commit 2a8819c

Please sign in to comment.