Skip to content

Commit fc39bdf

Browse files
committed
fix: use proper @macayaven namespace for GitHub Packages
- Call update-npm-for-fork.sh for GitHub Packages registry - Call prepare-fork-npm.sh for public npm registry - Ensure packages use @macayaven namespace when publishing to GitHub Packages - Maintain proper package naming for each registry type This ensures GitHub Packages use scoped names (@macayaven/kubernetes-mcp-server) while public npm uses descriptive names (kubernetes-mcp-server-openshift-ai).
1 parent 59aebc3 commit fc39bdf

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/publish-npm.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,16 @@ jobs:
7474
- name: Prepare packages
7575
run: |
7676
chmod +x ./prepare-fork-npm.sh
77-
./prepare-fork-npm.sh "${{ github.event.inputs.suffix }}"
77+
chmod +x ./update-npm-for-fork.sh
78+
79+
# Use different preparation based on registry type
80+
if [ "${{ github.event.inputs.registry }}" = "github-packages" ]; then
81+
echo "🔧 Preparing packages for GitHub Packages with @macayaven namespace..."
82+
./update-npm-for-fork.sh macayaven
83+
else
84+
echo "🔧 Preparing packages for public npm with suffix ${{ github.event.inputs.suffix }}..."
85+
./prepare-fork-npm.sh "${{ github.event.inputs.suffix }}"
86+
fi
7887
7988
- name: Update versions
8089
run: |

0 commit comments

Comments
 (0)