@bestend/confluence-cli 1.15.7 → 1.15.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,14 +19,16 @@ jobs:
19
19
  node-version: '24.x'
20
20
  registry-url: 'https://registry.npmjs.org'
21
21
 
22
- - name: Ensure package version matches tag
22
+ - name: Set package version from tag (idempotent)
23
23
  run: |
24
24
  TAG="${GITHUB_REF_NAME#v}"
25
25
  PKG_VERSION=$(node -p "require('./package.json').version")
26
- echo "Tag: $TAG / package.json: $PKG_VERSION"
27
- if [ "$TAG" != "$PKG_VERSION" ]; then
28
- echo "package.json version mismatch: $PKG_VERSION (expected $TAG)" >&2
29
- exit 1
26
+ if [ "$TAG" = "$PKG_VERSION" ]; then
27
+ echo "package.json already at $PKG_VERSION (matches tag)"
28
+ else
29
+ echo "Setting package.json version to ${TAG}"
30
+ npm pkg set version="${TAG}"
31
+ npm install --package-lock-only
30
32
  fi
31
33
 
32
34
  - name: Install dependencies
@@ -883,7 +883,7 @@ class ConfluenceClient {
883
883
  .replace(/&lt;/g, '<')
884
884
  .replace(/&gt;/g, '>')
885
885
  .replace(/&quot;/g, '"')
886
- .replace(/&#39;/g, "'");
886
+ .replace(/&#39;/g, '\'');
887
887
  decoded = decoded.replace(/\]\]>/g, ']]]]><![CDATA[>');
888
888
 
889
889
  return `<ac:structured-macro ac:name="code">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bestend/confluence-cli",
3
- "version": "1.15.7",
3
+ "version": "1.15.8",
4
4
  "description": "A command-line interface for Atlassian Confluence with page creation and editing capabilities",
5
5
  "main": "index.js",
6
6
  "bin": {