Skip to content

Commit 93b7b7d

Browse files
committed
chore: upgrade 0.23.0 to 0.24.0
1 parent edc4718 commit 93b7b7d

4 files changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
branches:
3838
- main
3939
paths:
40-
- 'package.json'
40+
- "package.json"
4141

4242
jobs:
4343
build-and-publish:
@@ -60,7 +60,6 @@ jobs:
6060
# Upgrade npm for OIDC trusted publishing support (requires npm 11.5+).
6161
# Bootstrap without npm since Node 22.22.2 ships with broken npm (missing promise-retry).
6262
# Pinned to 11.x: npm 12.0.0's `publish --provenance` is broken
63-
# (Cannot find module 'sigstore'), which failed the 0.23.0 release.
6463
- name: Upgrade npm
6564
run: |
6665
npm_tarball=$(curl -fsSL https://registry.npmjs.org/npm/latest | node -p "JSON.parse(require('fs').readFileSync(0,'utf8')).dist.tarball")
@@ -88,14 +87,14 @@ jobs:
8887
run: |
8988
# Get current version from package.json
9089
CURRENT_VERSION=$(jq -r '.version' package.json)
91-
90+
9291
# CASE 1: Manual workflow trigger with specified version
9392
if [ -n "${{ inputs.version }}" ]; then
9493
VERSION="${{ inputs.version }}"
9594
TAG="${{ inputs.tag }}"
9695
SHOULD_PUBLISH="true"
9796
echo "Manual trigger: Using provided version ${VERSION} with tag ${TAG}"
98-
97+
9998
# CASE 2: Automatic trigger from package.json changes
10099
else
101100
VERSION="${CURRENT_VERSION}"
@@ -121,12 +120,12 @@ jobs:
121120
fi
122121
fi
123122
fi
124-
123+
125124
# Store values as environment variables for use in later steps
126125
echo "PACKAGE_VERSION=${VERSION}" >> $GITHUB_ENV
127126
echo "NPM_TAG=${TAG}" >> $GITHUB_ENV
128127
echo "SHOULD_PUBLISH=${SHOULD_PUBLISH}" >> $GITHUB_ENV
129-
128+
130129
# Summary message
131130
if [ "${SHOULD_PUBLISH}" = "true" ]; then
132131
echo "Publishing version: ${VERSION} with tag: ${TAG}"
@@ -165,7 +164,7 @@ jobs:
165164
# No NODE_AUTH_TOKEN needed - authentication via GitHub OIDC
166165
npm publish --access public --tag ${{ env.NPM_TAG }} --provenance
167166
echo "✅ Successfully published to npm with provenance!"
168-
167+
169168
# Display a message when skipping publication
170169
- name: Skip publishing
171170
if: env.SHOULD_PUBLISH != 'true'

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@dbhub/frontend",
33
"private": true,
4-
"version": "0.23.0",
4+
"version": "0.24.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dbhub",
3-
"version": "0.23.0",
3+
"version": "0.24.0",
44
"mcpName": "io.github.bytebase/dbhub",
55
"description": "Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB",
66
"repository": {

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"url": "https://github.com/bytebase/dbhub",
88
"source": "github"
99
},
10-
"version": "0.23.0",
10+
"version": "0.24.0",
1111
"packages": [
1212
{
1313
"registryType": "npm",
1414
"identifier": "@bytebase/dbhub",
15-
"version": "0.23.0",
15+
"version": "0.24.0",
1616
"transport": {
1717
"type": "stdio"
1818
},

0 commit comments

Comments
 (0)