Skip to content

Commit 14c4eb8

Browse files
committed
version tag
1 parent bea30f9 commit 14c4eb8

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: '18.x'
13+
node-version: '22.x'
1414
registry-url: 'https://registry.npmjs.org'
1515

1616
- name: Install dependencies
@@ -19,12 +19,18 @@ jobs:
1919
- name: Set version from tag in infra
2020
run: |
2121
cd packages/infra
22-
npm version patch
22+
VERSION="${GITHUB_REF_NAME#v}"
23+
npm version "$VERSION"
24+
env:
25+
GITHUB_REF_NAME: ${{ github.ref_name }}
2326

2427
- name: Set version from tag in management
2528
run: |
2629
cd packages/management
27-
npm version patch
30+
VERSION="${GITHUB_REF_NAME#v}"
31+
npm version "$VERSION"
32+
env:
33+
GITHUB_REF_NAME: ${{ github.ref_name }}
2834

2935
- name: Build packages
3036
run: npm run build

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG FROM_BRANCH=latest
2-
FROM node:18
2+
FROM node:22
33

44
WORKDIR /home/jenkins/app
55

Dockerfile_base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# build it with command
22
# docker build -f ./Dockerfile_base -t gitlab.locsec.net:4567/mtp-dev/console-one-frontend/base:master -t gitlab.locsec.net:4567/mtp-dev/console-one-frontend/base:latest --platform linux/amd64 .
33
#
4-
FROM node:18
4+
FROM node:22
55

66
WORKDIR /home/jenkins/app
77

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Add the server configuration:
156156

157157
### Prerequisites
158158

159-
- Node.js 18+
159+
- Node.js 22+
160160
- npm 8+
161161

162162
### Setup

packages/management/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"name": "@chkp/quantum-management-mcp",
33
"version": "1.0.16",
4-
"publishConfig": {
5-
"registry": "https://artifactory-npm/artifactory/api/npm/npm/"
6-
},
74
"bin": {
85
"genai-mcp-server-management": "dist/index.js"
96
},

0 commit comments

Comments
 (0)