mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
Getting ready for the 2.1.1 release
This commit is contained in:
parent
7b815fd6a4
commit
a8df919971
6 changed files with 17 additions and 19 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,5 +1,4 @@
|
|||
# MAKE SURE ALL ADDITIONS HERE ARE MIRRORED INTO THE .npmignore AS WELL
|
||||
.lock-wscript
|
||||
*.node
|
||||
.DS_Store
|
||||
build/
|
||||
|
|
|
|||
|
|
@ -7,11 +7,10 @@ changelog.md
|
|||
CODE_OF_CONDUCT.md
|
||||
examples/
|
||||
Gruntfile.js
|
||||
publish-binaries.md
|
||||
PUBLISHING.md
|
||||
test/
|
||||
|
||||
# MIRRORED FROM .gitignore PLEASE MAINTAIN
|
||||
.lock-wscript
|
||||
*.node
|
||||
.DS_Store
|
||||
build/
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
How to publish the pre compiled binaries.
|
||||
How to publish node Serialport
|
||||
=========================================
|
||||
|
||||
## Setup for Linux, Windows and OSX
|
||||
|
|
@ -6,33 +6,27 @@ How to publish the pre compiled binaries.
|
|||
Every time a new tag for the latest release is pushed to Github, the continuous integration
|
||||
builds in Travis-CI and AppVeyor will generate the binaries for each platform and architecture.
|
||||
We use [node-pre-gyp-github](https://github.com/bchr02/node-pre-gyp-github) on top of node-pre-gyp
|
||||
to publish these binaries on Github, instead of S3.
|
||||
to publish these binaries on Github.
|
||||
|
||||
This can be checked in the .travis.yml file and appveyor.yml file. Within these files, there are two
|
||||
methods for publishing new binaries for each version: one is if a `git tag` is detected; the other
|
||||
can be triggered by passing the string `[publish binary]` in the commit message itself.
|
||||
|
||||
We have an automated make task, we should always use this task to avoid forgetting any steps. The process for generating the binaries, publishing and releasing the npm module should be as follows:
|
||||
|
||||
1. Merge all changes and new features into master.
|
||||
2. Fill out changelog.md.
|
||||
3. Bump up npm version *AND* binary host version in `package.json`, commit and push.
|
||||
4. Update the readme to refer to older docs if you're bumping a major version
|
||||
4. Update the README.md to reference this current version and to previous major version docs.
|
||||
5. Generate new tags based on package.json version number with `git tag 2.0.7 -a` and include the change log in the tag's annotation.
|
||||
6. Push tags to Github with `git push --tags`
|
||||
7. Publish to npm. BUT NOT YET. Builds can an hour and occasionally fail (mainly on Appveyor) for seemingly no reason. Restart any failures in the travis or appeveyor ui. While you wait, copy the changelog updates into the Github release field. When the entire matrix succeeds and all binaries exist run `npm publish`.
|
||||
|
||||
Differences for beta release
|
||||
* Work in a beta branch
|
||||
* Tag like: `git tag 2.0.7-beta1 -a` and include the change log in the tag's annotation.
|
||||
* Publish like `npm publish . --tag beta1`
|
||||
|
||||
## Config Travis, AppVeyor and Github to generate all of the binaries.
|
||||
|
||||
Before we are able to run everything stated above some steps need to be taken.
|
||||
Specifically for being able to publish the pre compiled binaries to Github. The
|
||||
correct keys need to be setup in the `travis.yml` and `appveyor.yml` files. For Travis, this needs
|
||||
to be done by the admin of the Github repo. For AppVeyor, this will need to be done by the owner of the AppVeyor account.
|
||||
Before we are able to run everything stated above some steps need to be taken. Specifically for being able to publish the pre compiled binaries to Github. The correct keys need to be setup in the `travis.yml` and `appveyor.yml` files. For Travis, this needs to be done by the admin of the Github repo. For AppVeyor, this will need to be done by the owner of the AppVeyor account.
|
||||
|
||||
### Setting up secure keys in Travis.
|
||||
|
||||
|
|
@ -8,9 +8,9 @@ For support you can open a [github issue](https://github.com/voodootikigod/node-
|
|||
|
||||
***
|
||||
|
||||
You're reading the latest README for `serialport@2.1.0` the latest `2.x` release.
|
||||
You're reading the latest README for `serialport@2.1.1` the latest `2.x` release.
|
||||
|
||||
- [`serialport@1.7.4` docs are here](https://github.com/voodootikigod/node-serialport/blob/v1.7.4/README.md) it was the latest `1.x` release
|
||||
- [`serialport@1.7.4` docs are here](https://github.com/voodootikigod/node-serialport/blob/v1.7.4/README.md) it was the last `1.x` release
|
||||
|
||||
***
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
Version 2.1.1
|
||||
-------------
|
||||
- `.list` errors are consistent across platforms and no longer has blocking `statSync` calls
|
||||
- Stop bundling node-pre-gyp to prevent issues when it's already installed
|
||||
- Internal restructuring
|
||||
|
||||
Version 2.1.0
|
||||
-------------
|
||||
- Major refactor, bug fixes and docs improvements thanks to @ecksun, @fivdi, @gfcittolin, @jacobrosenthal, @mhart, @nebrius, @pabigot, @paulkaplan, @reconbot, @rodovich, @rwaldron, @sayanee, @tigoe and everyone who reported and helped debug issues!
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "serialport",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.1",
|
||||
"description": "Node.js package to access serial ports. Welcome your robotic javascript overlords. Better yet, program them!",
|
||||
"author": {
|
||||
"name": "Chris Williams",
|
||||
|
|
@ -10,8 +10,7 @@
|
|||
"binary": {
|
||||
"module_name": "serialport",
|
||||
"module_path": "build/{configuration}/",
|
||||
"package_name": "{node_abi}-{platform}-{arch}.tar.gz",
|
||||
"host": "https://github.com/voodootikigod/node-serialport/releases/download/2.1.0"
|
||||
"host": "https://github.com/voodootikigod/node-serialport/releases/download/2.1.1"
|
||||
},
|
||||
"main": "./lib/serialport",
|
||||
"repository": {
|
||||
|
|
@ -20,7 +19,8 @@
|
|||
},
|
||||
"keywords": [
|
||||
"serialport",
|
||||
"nodebots"
|
||||
"nodebots",
|
||||
"johnny-five"
|
||||
],
|
||||
"maintainers": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue