1 Star 0 Fork 4.9K

fish / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bundle-version.md 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
NEEN 提交于 2021-03-12 17:59 . !197 Docs Update version 1.0.1

Bundle Version

Version Number Naming Specifications

Each version name allows only lowercase letters, which can be separated by hyphens (-) or underscores (_). For example, bundle and my_bundle are allowed.

A bundle version number is in the format of major version number.minor version number.revision version number or major version number.minor version number.revision version number-pre-release version number, for example, 1.0.0 and 1.0.0-beta. For details, see https://semver.org.

Version Publishing

You should upload bundles to the remote repository so that your peers have an option to use them. You can run the following command to upload the bundles:

hpm publish

After this command is executed, the system checks the bundle dependencies and downloads the missing dependencies. If the bundles you uploaded are in binary, the system compiles the entire bundle, generates a binary file, packs the file, and uploads it. If the bundles you uploaded are in another format, the system packs the bundle file in compliance with the defined packing rules and then uploads the file.

Note: To publish a bundle, you need an HPM account for login. After logging in to the HPM platform, register with an organization and apply for authentication. After successful authentication, you will have the permission to publish the bundle.

1
https://gitee.com/fish_neil/docs.git
git@gitee.com:fish_neil/docs.git
fish_neil
docs
docs
master

搜索帮助