chore: bump to 0.1.5, fix publish to skip already-published versions

pull/2/head v0.1.5
jackwener 2026-04-17 09:25:04 +08:00
parent 7c27a83340
commit 0e2711dcf8
9 changed files with 15 additions and 15 deletions

View File

@ -146,7 +146,7 @@ jobs:
run: | run: |
for dir in darwin-arm64 darwin-x64 linux-x64 linux-arm64 win32-x64; do for dir in darwin-arm64 darwin-x64 linux-x64 linux-arm64 win32-x64; do
cd npm/platforms/$dir cd npm/platforms/$dir
npm publish npm publish 2>&1 | tee /tmp/npm-out.txt || grep -q "previously published" /tmp/npm-out.txt || exit 1
cd ../../.. cd ../../..
done done
env: env:
@ -155,6 +155,6 @@ jobs:
- name: Publish main package - name: Publish main package
run: | run: |
cd npm/wx-cli cd npm/wx-cli
npm publish npm publish 2>&1 | tee /tmp/npm-out.txt || grep -q "previously published" /tmp/npm-out.txt || exit 1
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

2
Cargo.lock generated
View File

@ -1301,7 +1301,7 @@ checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
[[package]] [[package]]
name = "wx-cli" name = "wx-cli"
version = "0.1.4" version = "0.1.5"
dependencies = [ dependencies = [
"aes", "aes",
"anyhow", "anyhow",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "wx-cli" name = "wx-cli"
version = "0.1.4" version = "0.1.5"
edition = "2021" edition = "2021"
description = "WeChat 4.x (macOS/Linux) local data CLI — decrypt SQLCipher DBs, query chat history, watch new messages" description = "WeChat 4.x (macOS/Linux) local data CLI — decrypt SQLCipher DBs, query chat history, watch new messages"
license = "Apache-2.0" license = "Apache-2.0"

View File

@ -1,6 +1,6 @@
{ {
"name": "@jackwener/wx-cli-darwin-arm64", "name": "@jackwener/wx-cli-darwin-arm64",
"version": "0.1.4", "version": "0.1.5",
"description": "wx-cli binary for macOS arm64", "description": "wx-cli binary for macOS arm64",
"os": ["darwin"], "os": ["darwin"],
"cpu": ["arm64"], "cpu": ["arm64"],

View File

@ -1,6 +1,6 @@
{ {
"name": "@jackwener/wx-cli-darwin-x64", "name": "@jackwener/wx-cli-darwin-x64",
"version": "0.1.4", "version": "0.1.5",
"description": "wx-cli binary for macOS x64", "description": "wx-cli binary for macOS x64",
"os": ["darwin"], "os": ["darwin"],
"cpu": ["x64"], "cpu": ["x64"],

View File

@ -1,6 +1,6 @@
{ {
"name": "@jackwener/wx-cli-linux-arm64", "name": "@jackwener/wx-cli-linux-arm64",
"version": "0.1.4", "version": "0.1.5",
"description": "wx-cli binary for Linux arm64", "description": "wx-cli binary for Linux arm64",
"os": ["linux"], "os": ["linux"],
"cpu": ["arm64"], "cpu": ["arm64"],

View File

@ -1,6 +1,6 @@
{ {
"name": "@jackwener/wx-cli-linux-x64", "name": "@jackwener/wx-cli-linux-x64",
"version": "0.1.4", "version": "0.1.5",
"description": "wx-cli binary for Linux x64", "description": "wx-cli binary for Linux x64",
"os": ["linux"], "os": ["linux"],
"cpu": ["x64"], "cpu": ["x64"],

View File

@ -1,6 +1,6 @@
{ {
"name": "@jackwener/wx-cli-win32-x64", "name": "@jackwener/wx-cli-win32-x64",
"version": "0.1.4", "version": "0.1.5",
"description": "wx-cli binary for Windows x64", "description": "wx-cli binary for Windows x64",
"os": ["win32"], "os": ["win32"],
"cpu": ["x64"], "cpu": ["x64"],

View File

@ -1,6 +1,6 @@
{ {
"name": "@jackwener/wx-cli", "name": "@jackwener/wx-cli",
"version": "0.1.4", "version": "0.1.5",
"description": "Query your local WeChat data from the command line. Designed for LLM agent tool calls.", "description": "Query your local WeChat data from the command line. Designed for LLM agent tool calls.",
"bin": { "bin": {
"wx": "bin/wx.js" "wx": "bin/wx.js"
@ -13,11 +13,11 @@
"install.js" "install.js"
], ],
"optionalDependencies": { "optionalDependencies": {
"@jackwener/wx-cli-darwin-arm64": "0.1.4", "@jackwener/wx-cli-darwin-arm64": "0.1.5",
"@jackwener/wx-cli-darwin-x64": "0.1.4", "@jackwener/wx-cli-darwin-x64": "0.1.5",
"@jackwener/wx-cli-linux-x64": "0.1.4", "@jackwener/wx-cli-linux-x64": "0.1.5",
"@jackwener/wx-cli-linux-arm64": "0.1.4", "@jackwener/wx-cli-linux-arm64": "0.1.5",
"@jackwener/wx-cli-win32-x64": "0.1.4" "@jackwener/wx-cli-win32-x64": "0.1.5"
}, },
"engines": { "node": ">=14" }, "engines": { "node": ">=14" },
"keywords": ["wechat", "cli", "wx", "llm", "ai", "sqlite", "sqlcipher"], "keywords": ["wechat", "cli", "wx", "llm", "ai", "sqlite", "sqlcipher"],