Skip to content

Commit 27b3966

Browse files
authored
Merge pull request #768 from kuzzleio/beta
Release
2 parents 4e75ae3 + eb634fe commit 27b3966

File tree

6 files changed

+69
-4
lines changed

6 files changed

+69
-4
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Install Packages
2+
description: Install necessary packages inside the CI
3+
4+
runs:
5+
using: "composite"
6+
steps:
7+
- run: sudo apt update && sudo apt install libunwind-dev libunwind8 -y
8+
shell: bash
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Dtrack SBOM publish
2+
3+
env:
4+
NODE_VERSION: "24"
5+
6+
on:
7+
release:
8+
types:
9+
- released
10+
- prereleased
11+
12+
jobs:
13+
publish-sbom-to-dtrack:
14+
name: Publish SBOM to Dependency-Track
15+
runs-on: ubuntu-24.04
16+
steps:
17+
- name: Checkout project
18+
uses: actions/checkout@v6
19+
20+
- name: Install additional libraries
21+
uses: ./.github/actions/install-packages
22+
23+
- name: Node version ${{ env.NODE_VERSION }}
24+
uses: actions/setup-node@v6
25+
with:
26+
node-version: ${{ env.NODE_VERSION }}
27+
28+
- run: npm install
29+
- name: Create SBOM with CycloneDX
30+
run: npx @cyclonedx/cyclonedx-npm -o bom.xml --of=XML
31+
32+
- name: Get the current project version from package.json
33+
id: get-version
34+
run: |
35+
echo "version=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
36+
37+
- name: Publish SBOM to Dependency-Track
38+
uses: DependencyTrack/gh-upload-sbom@v3
39+
with:
40+
serverhostname: ${{ secrets.DEPENDENCYTRACK_HOSTNAME }}
41+
apikey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
42+
projectname: 'Kuzzle SDK JavaScript'
43+
projectversion: '${{ steps.get-version.outputs.version }}'
44+
bomfilename: "./bom.xml"
45+
autocreate: true

.github/workflows/push_branches.workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Release
3535
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GHP }}
3737
SEMANTIC_RELEASE_NPM_PUBLISH: "true"
3838
SEMANTIC_RELEASE_SLACK_WEBHOOK: ${{ secrets.SEMANTIC_RELEASE_SLACK_WEBHOOK }}
3939
run: npx semantic-release

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## [7.17.0-beta.2](https://github.com/kuzzleio/sdk-javascript/compare/v7.17.0-beta.1...v7.17.0-beta.2) (2025-12-16)
2+
3+
### Bug Fixes
4+
5+
* use custom github token to allow sequantial workflow creation ([b3109fe](https://github.com/kuzzleio/sdk-javascript/commit/b3109fe04e9315535e990dbe4b89187a9ed0f867))
6+
7+
## [7.17.0-beta.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.16.0...v7.17.0-beta.1) (2025-12-16)
8+
9+
### Features
10+
11+
* publish sbom to dtrack ([09d874a](https://github.com/kuzzleio/sdk-javascript/commit/09d874a9d9415afca61a192467a59ba56e558c56))
12+
113
## [7.16.0](https://github.com/kuzzleio/sdk-javascript/compare/v7.15.1...v7.16.0) (2025-12-16)
214

315
### Features

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kuzzle-sdk",
3-
"version": "7.16.0",
3+
"version": "7.17.0-beta.2",
44
"description": "Official Javascript SDK for Kuzzle",
55
"author": "The Kuzzle Team <[email protected]>",
66
"repository": {

0 commit comments

Comments
 (0)