Skip to content

Commit 93054ec

Browse files
data-douserCopilot
andcommitted
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 43b9ef8 commit 93054ec

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/release-codeql.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,18 @@ jobs:
128128
run: echo "⏭️ CodeQL pack publishing disabled via workflow input"
129129

130130
- name: CodeQL - Bundle CodeQL packs
131+
env:
132+
PUBLISHABLE_PACKS_LIST: |
133+
javascript/frameworks/cap/src
134+
javascript/frameworks/cap/ext
135+
javascript/frameworks/cap/lib
136+
javascript/frameworks/ui5/src
137+
javascript/frameworks/ui5/ext
138+
javascript/frameworks/ui5/lib
139+
javascript/frameworks/xsjs/src
140+
javascript/frameworks/xsjs/ext
141+
javascript/frameworks/xsjs/lib
142+
javascript/heuristic-models/ext
131143
run: |
132144
mkdir -p dist-packs
133145

scripts/update-release-version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ update_internal_deps() {
266266
local old_version="$2"
267267
local new_version="$3"
268268

269-
# Escape regex metacharacters in the old version (e.g., '.' -> '\.')
269+
# Escape dots in the old version (e.g., '2.3.0' -> '2\.3\.0') for use in sed regex
270270
local escaped_old_version
271-
escaped_old_version=$(printf '%s' "${old_version}" | sed 's/[.\*\[\^\$]/\\&/g')
271+
escaped_old_version=$(printf '%s' "${old_version}" | sed 's/\./\\./g')
272272

273273
for pack_name in "${INTERNAL_PACKS[@]}"; do
274274
# Update quoted caret-prefixed versions: "^X.Y.Z"

0 commit comments

Comments
 (0)