Skip to content

Latest commit

 

History

History
110 lines (75 loc) · 3.51 KB

README-MAINTAINER.md

File metadata and controls

110 lines (75 loc) · 3.51 KB

license CI on Push GitHub issues GitHub pulls

Maintainer info

Project repository

The project is hosted on GitHub:

To clone it:

git clone https://github.com/micro-os-plus/micro-test-plus-xpack.git micro-test-plus-xpack.git

Prerequisites

A recent xpm, which is a portable Node.js command line application.

Code formatting

Code formatting is done using clang-format --style=file, either manually from a script, or automatically from Visual Studio Code, or the Eclipse CppStyle plug-in.

Prepare a new blog post

In the micro-os-plus/web-jekyll GitHub repo:

  • select the develop branch
  • add a new file to _posts/micro-test-plus/releases
  • name the file like 2020-12-19-micro-test-plus-v7-0-0-released.md
  • name the post like: µOS++ rtos v2.0.4 released
  • update the date: field with the current date
  • update the GitHub Actions URLs using the actual test pages

If any, refer to closed issues as:

  • [Issue:[#1](...)].

Publish on the npmjs.com server

  • select the xpack-develop branch
  • commit all changes
  • update CHANGELOG.md; commit with a message like CHANGELOG: prepare v2.0.4
  • npm pack and check the content of the archive, which should list only the package.json, the README.md, LICENSE and CHANGELOG.md; possibly adjust .npmignore
  • npm version patch, npm version minor, npm version major
  • push the xpack-develop branch to GitHub with git push origin --tags
  • npm publish --tag next (use --access public when publishing for the first time)

The version is visible at:

Testing

The project includes unit tests.

To run them, run:

cd micro-test-plus-xpack.git
xpm run install-all
xpm run test

Continuous Integration

All available tests are also performed on GitHub Actions, as the CI on Push workflow.

Update the repo

When the package is considered stable:

  • with Sourcetree
  • merge xpack-develop into xpack
  • push to GitHub
  • select xpack-develop

Tag the npm package as latest

When the release is considered stable, promote it as latest:

  • npm dist-tag ls @micro-os-plus/micro-test-plus
  • npm dist-tag add @micro-os-plus/micro-test-plus@2.0.4 latest
  • npm dist-tag ls @@micro-os-plus/micro-test-plus

Announce to the community

Post an announcement to the forum.

Share on Twitter

  • in a separate browser windows, open TweetDeck
  • using the @micro_os_plus account
  • paste the release name like µOS++ rtos v2.0.4 released
  • paste the link to the Web page release
  • click the Tweet button