-
-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* devel: fix travis naming gosh... Add semantic-release Current 3.1.0-pre.1 uses phonegap-plugin-push v. 1.8.2 updated to 1.8.4. Add note about progress tracking bump 3.1.0-pre.1 Update node-gcm, phonegap-plugin-push, cordova-plugin-device. Didn't update node apn package as the latest one seemed to require further code changes, and the current one seems fine. Fix typo : "Bellow" -> "Below"
- Loading branch information
Showing
7 changed files
with
75 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
language: node_js | ||
|
||
cache: | ||
directories: | ||
- ~/.npm | ||
- ~/.meteor | ||
- "node_modules" | ||
|
||
node_js: | ||
- '8' | ||
|
||
install: | ||
- npm install | ||
- if [[ ! -e "$HOME/.meteor" ]]; then curl https://install.meteor.com/ | sh; fi | ||
- export PATH=$HOME/.meteor:$PATH | ||
- npx meteor-ci login ${METEOR_TOKEN} --key ${METEOR_KEY} | ||
- meteor whoami | ||
|
||
stages: | ||
- test | ||
- release | ||
|
||
script: | ||
- npm test | ||
- npm run semantic-release | ||
|
||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ [email protected] | |
[email protected] | ||
raix:[email protected] | ||
raix:[email protected] | ||
raix:push@3.0.3-rc.7 | ||
raix:push@3.1.0-pre.1 | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env node | ||
|
||
/** | ||
* This file updates version in package.js from package.json (provided by semantic-release) | ||
*/ | ||
|
||
const fs = require('fs'); | ||
const path = require('path'); | ||
const packageJSON = require(path.join(process.cwd(), './package.json')); | ||
const packageJSPath = path.join(process.cwd(), 'package.js'); | ||
const packageJS = fs.readFileSync(packageJSPath, 'utf-8'); | ||
fs.writeFileSync(packageJSPath, packageJS.replace('0.0.0-semantic-release', packageJSON.version), 'utf-8'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "push", | ||
"version": "0.0.0-semantic-release", | ||
"description": "Isomorphic Push notifications for APN and GCM", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Tests not implemented\" && exit 0", | ||
"semantic-release": "semantic-release pre && ./bin/updateversion.js && meteor publish && semantic-release post" | ||
}, | ||
"release": { | ||
"getLastRelease": "meteor-ci/src/get-last-release-cb.js" | ||
}, | ||
"repository": "https://github.com/raix/push.git", | ||
"author": "", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/raix/push/issues" | ||
}, | ||
"homepage": "https://github.com/raix/push#readme", | ||
"devDependencies": { | ||
"meteor-ci": "0.3.0", | ||
"semantic-release": "^8.2.0", | ||
"semver": "^5.4.1" | ||
} | ||
} |