Skip to content

Commit 171b48c

Browse files
committed
fix: versions
Signed-off-by: Philippe Martin <[email protected]>
1 parent 715bce0 commit 171b48c

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ jobs:
6969
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${{ steps.TAG_UTIL.outputs.extVersion }}\",#g" packages/extension/package.json
7070
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${{ steps.TAG_UTIL.outputs.extVersion }}\",#g" packages/webview/package.json
7171
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${{ steps.TAG_UTIL.outputs.extVersion }}\",#g" packages/api/package.json
72+
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${{ steps.TAG_UTIL.outputs.extVersion }}\",#g" tests/playwright/package.json
7273
sed -i "s#\(ghcr.io/podman-desktop/podman-desktop-extension-kubernetes-dashboard-builder:\)next#\1${{ steps.TAG_UTIL.outputs.extVersion }}#g" build/Containerfile
7374
74-
git add package.json packages/extension/package.json packages/webview/package.json build/Containerfile
75+
git add package.json packages/extension/package.json packages/webview/package.json packages/api/package.json tests/playwright/package.json build/Containerfile
7576
7677
# commit the changes
7778
git commit -m "chore: 🥁 tagging ${{ steps.TAG_UTIL.outputs.githubTag }} 🥳"
@@ -102,9 +103,11 @@ jobs:
102103
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${bumpedVersion}-next\",#g" package.json
103104
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${bumpedVersion}-next\",#g" packages/extension/package.json
104105
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${bumpedVersion}-next\",#g" packages/webview/package.json
106+
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${bumpedVersion}-next\",#g" packages/api/package.json
107+
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${bumpedVersion}-next\",#g" tests/playwright/package.json
105108
# put back next as the version in the Containerfile
106109
sed -i "s|\(ghcr.io/podman-desktop/podman-desktop-extension-kubernetes-dashboard-builder:\)[^ ]*|\1next|" build/Containerfile
107-
git add package.json packages/extension/package.json packages/webview/package.json build/Containerfile
110+
git add package.json packages/extension/package.json packages/webview/package.json packages/api/package.json tests/playwright/package.json build/Containerfile
108111
109112
git commit -s --amend -m "chore: bump version to ${bumpedVersion}"
110113
git push origin "${bumpedBranchName}"

tests/playwright/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kubernetes-dashboard-tests-playwright",
3-
"version": "0.12.0-next",
3+
"version": "0.2.0-next",
44
"description": "Kubernetes Dashboard extension Playwright E2E tests",
55
"scripts": {
66
"test:e2e:setup": "xvfb-maybe --auto-servernum --server-args='-screen 0 1280x960x24' --",
@@ -12,8 +12,8 @@
1212
"devDependencies": {
1313
"@playwright/test": "^1.51.1",
1414
"@podman-desktop/tests-playwright": "^1.23.1",
15-
"@types/node": "^22",
16-
"typescript": "^5.9.2",
15+
"@types/node": "^24",
16+
"typescript": "^5.9.3",
1717
"xvfb-maybe": "^0.2.1"
1818
},
1919
"type": "module"

tests/playwright/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**********************************************************************
2-
* Copyright (C) 2024 Red Hat, Inc.
2+
* Copyright (C) 2025 Red Hat, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

tests/playwright/src/extension.spec.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/**********************************************************************
2+
* Copyright (C) 2025 Red Hat, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
* SPDX-License-Identifier: Apache-2.0
17+
***********************************************************************/
18+
119
import type { ExtensionsPage } from '@podman-desktop/tests-playwright';
220
import {
321
expect as playExpect,

0 commit comments

Comments
 (0)