File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 - libs/client-sdk:launchdarkly-cpp-client
1717 - libs/server-sdk:launchdarkly-cpp-server
1818 - libs/server-sdk-redis-source:launchdarkly-cpp-server-redis-source
19+ publish_release :
20+ description : ' Publish (un-draft) the release after all artifacts are uploaded?'
21+ type : boolean
22+ required : false
23+ default : true
1924
2025name : Publish SDK Artifacts
2126
7681 uses : actions/attest@v4
7782 with :
7883 subject-checksums : checksums.txt
79-
8084 release-sdk-mac-arm64 :
8185 needs : split-input
8286 runs-on : macos-15
@@ -108,3 +112,19 @@ jobs:
108112 uses : actions/attest@v4
109113 with :
110114 subject-checksums : checksums.txt
115+
116+ publish-release :
117+ needs : ['release-sdk', 'release-sdk-mac-arm64']
118+ if : ${{ inputs.publish_release }}
119+ runs-on : ubuntu-latest
120+ permissions :
121+ contents : write
122+ steps :
123+ - name : Publish release
124+ env :
125+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
126+ TAG_NAME : ${{ inputs.tag }}
127+ run : >
128+ gh release edit "$TAG_NAME"
129+ --repo ${{ github.repository }}
130+ --draft=false
Original file line number Diff line number Diff line change 1010 " tests/client_c_bindings_test.cpp" ,
1111 " tests/client_test.cpp" ,
1212 " CMakeLists.txt"
13- ]
13+ ],
14+ "force-tag-creation" : true
1415 },
1516 "libs/server-sdk" : {
1617 "extra-files" : [
1718 " include/launchdarkly/server_side/client.hpp" ,
1819 " tests/server_c_bindings_test.cpp" ,
1920 " tests/client_test.cpp" ,
2021 " CMakeLists.txt"
21- ]
22+ ],
23+ "force-tag-creation" : true
2224 },
2325 "libs/server-sdk-redis-source" : {
2426 "extra-files" : [
2527 " CMakeLists.txt"
26- ]
28+ ],
29+ "force-tag-creation" : true
2730 },
2831 "libs/server-sdk-otel" : {
2932 "bump-minor-pre-major" : true ,
3033 "extra-files" : [
3134 " CMakeLists.txt"
32- ]
35+ ],
36+ "force-tag-creation" : true
3337 },
34- "libs/server-sent-events" : {},
35- "libs/common" : {},
36- "libs/internal" : {},
37- "libs/networking" : {}
38+ "libs/server-sent-events" : {
39+ "force-tag-creation" : true
40+ },
41+ "libs/common" : {
42+ "force-tag-creation" : true
43+ },
44+ "libs/internal" : {
45+ "force-tag-creation" : true
46+ },
47+ "libs/networking" : {
48+ "force-tag-creation" : true
49+ }
3850 }
3951}
You can’t perform that action at this time.
0 commit comments