9wares 中文文档教程

发布于 8年前 浏览 29 项目主页 更新于 3年前

9Wares LogoWares-js

用于与 9Wares 通信的 Javascript 库

Adding this library to your project

npm install 9wares --save

Running a demo

node_modules/brunch/bin/brunch watch --server

Building this library

  • npm run build - will package it to the dist folder
  • Everything must be committed by this point
  • npm version patch|minor|major - to bump the (appropriate) version

这将创建需要推送的新版本的 git 标记。

git push origin v0.0.0

或者,您可以通过这种方式将“所有”本地标签推送到服务器……

git push origin --tags

您可以使用删除不需要的本地标签以下。 如果创建的版本标签有错误并需要重建但未部署或推送,则很有帮助。

git 标签 -d v0.0.0

9Wares LogoWares-js

Javascript libraries for communicating with 9Wares

Adding this library to your project

npm install 9wares --save

Running a demo

node_modules/brunch/bin/brunch watch --server

Building this library

  • npm run build - will package it to the dist folder
  • Everything must be committed by this point
  • npm version patch|minor|major - to bump the (appropriate) version

This will create a git tag of the new version that needs to be pushed.

git push origin v0.0.0

Alternatively, you can push "all" the local tags to the server this way…

git push origin --tags

You can removed undesired local tags using below. Helpful if a version tag was created that had bugs and needed to be rebuilt but wasn't deployed or pushed.

git tag -d v0.0.0

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文