mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-09 17:28:58 +00:00
20 lines
576 B
Text
20 lines
576 B
Text
# Copy to .env.internal (gitignored) and fill in actual values:
|
|
# cp scripts/publish/.env.example scripts/publish/.env.internal
|
|
#
|
|
# Then publish:
|
|
# source scripts/publish/.env.internal && ./scripts/publish/publish.sh
|
|
|
|
# Override package name
|
|
export OCR_PKG_NAME=
|
|
|
|
# npm registry URL
|
|
export OCR_PUBLISH_REGISTRY=
|
|
|
|
# Binary download URL template (supports {version} {os} {arch} placeholders)
|
|
export OCR_URL_PATTERN=
|
|
|
|
# Checksum file URL template
|
|
export OCR_CHECKSUM_PATTERN=
|
|
|
|
# [Optional] Git repo for binary uploads (set to enable upload step)
|
|
export OCR_RELEASE_GIT_REPO=
|