Skip to content

Commit b7122e0

Browse files
committed
Auto publish
1 parent ade3500 commit b7122e0

File tree

2 files changed

+28
-31
lines changed

2 files changed

+28
-31
lines changed

.travis.yml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
language: node_js
2-
dist: trusty
3-
sudo: required
4-
node_js: 5
5-
install:
6-
- npm install
7-
- npm install -g bower
8-
- bower install
9-
script:
10-
- npm test
11-
after_success:
12-
- >-
13-
test $TRAVIS_TAG &&
14-
node_modules/.bin/psc-publish > .pursuit.json &&
15-
curl -X POST http://pursuit.purescript.org/packages \
16-
-d @.pursuit.json \
17-
-H 'Accept: application/json' \
18-
-H "Authorization: token ${GITHUB_TOKEN}"
1+
language: node_js
2+
dist: trusty
3+
sudo: required
4+
node_js: 5
5+
install:
6+
- npm install
7+
- npm install -g bower
8+
- bower install
9+
script:
10+
- npm test
11+
after_success:
12+
- >-
13+
test $TRAVIS_TAG &&
14+
echo $GITHUB_AUTH_TOKEN | pulp login &&
15+
echo y | pulp publish --no-push

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
{
2-
"private": true,
3-
"scripts": {
4-
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "pulp build",
6-
"test": "pulp test"
7-
},
8-
"devDependencies": {
9-
"pulp": "^8.1.0",
10-
"purescript": "^0.8.4",
11-
"rimraf": "^2.5.2"
12-
}
13-
}
1+
{
2+
"private": true,
3+
"scripts": {
4+
"clean": "rimraf output && rimraf .pulp-cache",
5+
"build": "pulp build",
6+
"test": "pulp test"
7+
},
8+
"devDependencies": {
9+
"pulp": "^8.2.0",
10+
"purescript": "^0.8.4",
11+
"rimraf": "^2.5.2"
12+
}
13+
}

0 commit comments

Comments
 (0)