Skip to content

Commit

Permalink
Merge pull request #27 from resin-io-modules/versionbot
Browse files Browse the repository at this point in the history
Move to circle to autopublish and set up versionbot
  • Loading branch information
pimterry committed Nov 21, 2017
2 parents 02d961a + a155400 commit dce557d
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 39 deletions.
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

46 changes: 15 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,98 +3,82 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.0.0] - 2017-10-13
## v4.0.0 - 2017-10-13

### Changed

- Take config as an argument to `configure`, rather than generating it ourselves
- Expect `appUpdatePollInterval` in milliseconds, not seconds, and don't stringify it

## [3.0.0] - 2017-04-17
## v3.0.0 - 2017-04-17

### Changed

- Added a required `deviceApiKey` parameter to `configure`
- Updated to resin-device-config ^4.0.0

## [2.2.1] - 2017-04-14
## v2.2.1 - 2017-04-14

### Fixed

- Node v4 support

## [2.2.0] - 2017-03-28
## v2.2.0 - 2017-03-28

### Changed

- Updated dependencies to pull in etcher-image-writer@^9.

## [2.1.1] - 2017-01-24
## v2.1.1 - 2017-01-24

### Changed

- Moved to [resin-sdk-preconfigured](https://github.com/resin-io-modules/resin-sdk-preconfigured)

## [2.1.0] - 2016-09-14
## v2.1.0 - 2016-09-14

- Attempt to get `device-type.json` from the image's first partition.

## [2.0.4] - 2016-04-08
## v2.0.4 - 2016-04-08

- Support shorter uuids.

## [2.0.3] - 2016-03-22
## v2.0.3 - 2016-03-22

- Upgrade `resin-device-config` to v3.0.0.

## [2.0.2] - 2015-12-05
## v2.0.2 - 2015-12-05

- Omit tests from NPM package.

## [2.0.1] - 2015-10-12
## v2.0.1 - 2015-10-12

- Upgrade to Resin SDK v3.0.0.

## [2.0.0] - 2015-09-30
## v2.0.0 - 2015-09-30

- Take a device type instead of a uuid in `initialize()`.

## [1.0.4] - 2015-09-08
## v1.0.4 - 2015-09-08

- Upgrade `resin-device-operations` to v1.2.5.

### Changed

## [1.0.3] - 2015-09-07
## v1.0.3 - 2015-09-07

### Changed

- Upgrade `resin-device-config` to v2.1.0.

## [1.0.2] - 2015-09-07
## v1.0.2 - 2015-09-07

### Changed

- Upgrade `resin-device-config` to v2.0.1.

## [1.0.1] - 2015-09-07
## v1.0.1 - 2015-09-07

### Changed

- Upgrade `resin-device-operations` to v1.2.4.

[4.0.0]: https://github.com/resin-io/resin-device-init/compare/v3.0.0...v4.0.0
[3.0.0]: https://github.com/resin-io/resin-device-init/compare/v2.2.1...v3.0.0
[2.2.1]: https://github.com/resin-io/resin-device-init/compare/v2.2.0...v2.2.1
[2.2.0]: https://github.com/resin-io/resin-device-init/compare/v2.1.1...v2.2.0
[2.1.1]: https://github.com/resin-io/resin-device-init/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/resin-io/resin-device-init/compare/v2.0.4...v2.1.0
[2.0.4]: https://github.com/resin-io/resin-device-init/compare/v2.0.3...v2.0.4
[2.0.3]: https://github.com/resin-io/resin-device-init/compare/v2.0.2...v2.0.3
[2.0.2]: https://github.com/resin-io/resin-device-init/compare/v2.0.1...v2.0.2
[2.0.1]: https://github.com/resin-io/resin-device-init/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/resin-io/resin-device-init/compare/v1.0.4...v2.0.0
[1.0.4]: https://github.com/resin-io/resin-device-init/compare/v1.0.3...v1.0.4
[1.0.3]: https://github.com/resin-io/resin-device-init/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/resin-io/resin-device-init/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/resin-io/resin-device-init/compare/v1.0.0...v1.0.1
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ init:
# what combinations to test
environment:
matrix:
- nodejs_version: ''
- nodejs_version: 6
- nodejs_version: 4

Expand Down
72 changes: 72 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
version: 2

buildSteps: &buildSteps
- checkout
- run:
name: install-npm
command: npm install
- run:
name: test
command: npm test
- persist_to_workspace:
# Persist all job output, so we can (potentially) use it for deploys
root: ../
paths:
- ./node-*

jobs:
"node-6":
docker:
- image: circleci/node:6
working_directory: ~/node-6
steps: *buildSteps

"node-8":
docker:
- image: circleci/node:8
working_directory: ~/node-8
steps: *buildSteps

deploy:
# For this to work NPM_TOKEN must be set for the account used for publishing
docker:
- image: circleci/node:6
steps:
- attach_workspace:
at: $CIRCLE_WORKING_DIRECTORY
- run:
name: Login to npm
command: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm whoami
- deploy:
name: Deploy to npm
command: npm publish
# Output used for publish is from node 6 build
working_directory: $CIRCLE_WORKING_DIRECTORY/node-6

workflows:
version: 2
build:
jobs:
- "node-6":
# Run for all tags (required to allow the deploy to trigger on version tags)
filters:
tags:
only: /.*/
- "node-8":
# Run for all tags (required to allow the deploy to trigger on version tags)
filters:
tags:
only: /.*/
- deploy:
# Deploy passing builds if they're tagged with a version
requires:
- "node-6"
- "node-8"
filters:
tags:
only: /^v\d+\.\d+\.\d+$/
branches:
ignore: /.*/

0 comments on commit dce557d

Please sign in to comment.