Skip to content

Commit

Permalink
chore: add server-side SDK to release-please config (#268)
Browse files Browse the repository at this point in the history
Adds the server-side SDK into release please @ `0.1.0`.
  • Loading branch information
cwaldren-ld authored Oct 23, 2023
1 parent 82d72df commit 17668f9
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/manual-publish-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
type: choice
options:
- libs/client-sdk
- libs/server-sdk
name: Publish Documentation
jobs:
build-publish:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/manual-sdk-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
type: choice
options:
- libs/client-sdk:launchdarkly-cpp-client
- libs/server-sdk:launchdarkly-cpp-server

name: Publish SDK Artifacts

Expand Down
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"libs/client-sdk": "3.2.1",
"libs/server-sdk": "0.1.0",
"libs/server-sent-events": "0.2.0",
"libs/common": "0.5.0",
"libs/internal": "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion libs/server-sdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.19)

project(
LaunchDarklyCPPServer
VERSION 0.1
VERSION 0.1.0 # {x-release-please-version}
DESCRIPTION "LaunchDarkly C++ Server SDK"
LANGUAGES CXX C
)
Expand Down
10 changes: 10 additions & 0 deletions libs/server-sdk/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "launchdarkly-cpp-server",
"description": "This package.json exists for modeling dependencies for the release process.",
"version": "0.1.0",
"private": true,
"dependencies": {
"launchdarkly-cpp-internal": "0.3.0",
"launchdarkly-cpp-common": "0.5.0"
}
}
10 changes: 10 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
"CMakeLists.txt"
]
},
"libs/server-sdk": {
"extra-files": [
"include/launchdarkly/server_side/client.hpp",
"tests/server_c_bindings_test.cpp",
"tests/client_test.cpp",
"CMakeLists.txt"
],
"prerelease": true,
"bump-minor-pre-major": true
},
"libs/server-sent-events": {
"initial-version": "0.1.0"
},
Expand Down

0 comments on commit 17668f9

Please sign in to comment.