This will also be our first release to have cross-compiled protoc-gen-js binaries. Please note that they use dynamic linking (similar to the protobuf protoc releases).
toolchain = find_cpp_toolchain(ctx)
cpu = toolchain.cpu
system_name = toolchain.target_gnu_system_name
rename cpus to match what we want artifacts to be
if cpu == "systemz":
cpu = "s390_64"
elif cpu == "aarch64":
cpu = "aarch_64"
elif cpu == "ppc64":
cpu = "ppcle_64"
use the system name to determine the os and then create platform names
if "apple" in system_name:
values["platform"] = "osx-" + cpu
elif "linux" in system_name:
values["platform"] = "linux-" + cpu
elif "mingw" in system_name:
if cpu == "x86_64":
values["platform"] = "win64"
else:
values["platform"] = "win32"
else:
values["platform"] = "unknown"
return PackageVariablesInfo(values=values)
package_naming = rule(
implementation=_package_naming_impl,
attrs={
# Necessary data dependency for find_cpp_toolchain.
"_cc_toolchain":
attr.label(
default=Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
},
toolchains=["@bazel_tools//tools/cpp:toolchain_type"],
... (truncated)
Commits
3b3a8ab Merge pull request #140 from dibenede/release-bugs
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Coverage decreased (-0.2%) to 98.232% when pulling f6bcc9ab95d5050acd4e23a74aacb26fb919949d on dependabot/npm_and_yarn/google-protobuf-3.21.1 into 89d337d2adce8fe5c8bda9cf9ca9552f09cda813 on master.
Coverage decreased (-0.2%) to 98.232% when pulling f6bcc9ab95d5050acd4e23a74aacb26fb919949d on dependabot/npm_and_yarn/google-protobuf-3.21.1 into 89d337d2adce8fe5c8bda9cf9ca9552f09cda813 on master.
Bumps google-protobuf from 3.21.0 to 3.21.1.
Release notes
Sourced from google-protobuf's releases.
Changelog
Sourced from google-protobuf's changelog.
... (truncated)
Commits
3b3a8ab
Merge pull request #140 from dibenede/release-bugsd99e404
Be explicit about all npm package filesd451e3b
Fix typos in asserts add LICENSE-asserts.md to package.jsonb792840
Merge pull request #139 from dibenede/prepare-releasef6d56c9
Run through pyformat to reduce whitespace diff2f205a4
Bump version and prepare for release9384cb4
Sync protoc version to match testing/build envs828d150
Merge pull request #137 from dibenede/swap-asserts864e80f
Remove getType in jspb.asserts from global namespacec6fb314
Remove remaining assert functions from global namespaceDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)