Compare commits

..

1 Commits

Author SHA1 Message Date
Will Jones
f9db5feff4 add dbg prints 2023-05-25 09:23:40 -07:00
3 changed files with 12 additions and 22 deletions

View File

@@ -77,8 +77,8 @@ build_node_binary() {
fi
# We don't pass in target, since the native target here already matches
# and openblas-src doesn't do well with cross-compilation.
npm run build-release --script-shell bash
npm run pack-build --script-shell bash
npm run build-release
npm run pack-build
popd
}

View File

@@ -2,20 +2,6 @@
# Usage: ./build_macos_artifacts.sh [target]
# Targets supported: x86_64-apple-darwin aarch64-apple-darwin
prebuild_rust() {
# Building here for the sake of easier debugging.
pushd rust/ffi/node
for target in $1
do
echo "Building rust library for $target"
export RUST_BACKTRACE=1
cargo build --release --target $target
done
popd
}
build_node_binaries() {
pushd node

View File

@@ -35,14 +35,18 @@ git push --tag vX.X.X
```
When the tag is pushed, GitHub actions will start building the libraries and
will upload them to a draft release.
will upload them to a draft release. Wait for those jobs to complete.
While those jobs are running, edit the release notes as needed. For example,
bring relevant new features and bugfixes to the top of the notes and the testing
and CI changes to the bottom.
### 3. Publish the release
Once the jobs have finished, the release will be marked as not draft and the
artifacts will be released to crates.io, NPM, and PyPI.
Once the jobs are complete, you can edit the
2. Push a tag, such as vX.X.X. Once the tag is pushrf, GitHub actions will start
building the native libraries and uploading them to a draft release. Wait for
those jobs to complete.
3. If the libraries are successful, edit the changelog and then publish the
release. Once you publish, a new action will start and upload all the
release artifacts to npm.
## Manual process