https://github.com/ocombe/condition-snap
Make sure the right builds (jobs) on snap get published
https://github.com/ocombe/condition-snap
Last synced: 9 months ago
JSON representation
Make sure the right builds (jobs) on snap get published
- Host: GitHub
- URL: https://github.com/ocombe/condition-snap
- Owner: ocombe
- License: mit
- Created: 2015-11-29T20:55:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-02T21:07:45.000Z (over 10 years ago)
- Last Synced: 2025-08-17T02:53:54.981Z (11 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# condition-snap
> Checks SnapCI environment before publishing successful build using semantic-release
Inspired by [condition-travis](https://github.com/semantic-release/condition-travis)
## Install and configure
npm install --save-dev condition-snap
Add the following to the `package.json`
```json
"release": {
"verifyConditions": "condition-snap"
}
```
This tells [semantic-release plugins](https://github.com/semantic-release/semantic-release#plugins)
to use this package to verify the environment to make sure we are running on
[SnapCI](https://snap-ci.com).