Skip to content

Commit 2e201fc

Browse files
committed
ci: Try to Fix Buddy Pipeline
1 parent ff76695 commit 2e201fc

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/buddy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ jobs:
8181
echo "Using dist-tag: $CHANNEL (derived from $RELEASE_TAG)"
8282
echo "tag=$CHANNEL" >> "$GITHUB_OUTPUT"
8383
84+
- name: Patch package name for GitHub Packages
85+
run: |
86+
set -euo pipefail
87+
cp package.json package.json.bak
88+
89+
node << 'EOF'
90+
const fs = require('fs');
91+
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
92+
pkg.name = '@hcoona/' + pkg.name;
93+
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));
94+
EOF
95+
8496
- name: Publish to GitHub Packages
8597
env:
8698
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The version scheme follows [Semantic Versioning 2.0.0](https://semver.org/).
1212
> [!NOTE]
1313
> Dates use the `YYYY-MM-DD` format and releases are listed from newest to oldest.
1414
15-
## [3.0.0-dev.6] - 2025-11-17
15+
## [3.0.0-dev.7] - 2025-11-17
1616

1717
> [!WARNING]
1818
> This is a development pre-release built from the `main` branch.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hexo-renderer-asciidoc",
3-
"version": "3.0.0-dev.6",
3+
"version": "3.0.0-dev.7",
44
"description": "Asciidoc renderer plugin for hexo",
55
"type": "module",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)