Skip to content

Commit

Permalink
publish server
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Sep 28, 2024
1 parent 42613ff commit 5eb1cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ echo "Building server..."
./scripts/build-wasm-server.sh

echo "Publishing server..."
pushd server
sed -i 's#"name": "server"#"name": "@bgs/clash-server"#' pkg/package.json
sed -i "s#\"version\": \"0.1.0\"#\"version\": \"$VERSION\"#" pkg/package.json
pushd server
wasm-pack publish --access public
popd

Expand Down

0 comments on commit 5eb1cbe

Please sign in to comment.