Skip to content

Commit

Permalink
Automation adjustments
Browse files Browse the repository at this point in the history
- Skip clean up during deployment
- Set dummy version to package.json
- Add a TODO to the release script
  • Loading branch information
kossnocorp committed Sep 13, 2017
1 parent 5dfb30a commit e1a8b07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ script:

deploy:
provider: script
skip_cleanup: true
script: ./scripts/release/release.sh
on:
tags: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "date-fns",
"version": "2.0.0-alpha.1",
"version": "DON'T CHANGE; IT'S SET AUTOMATICALLY DURING DEPLOYMENT",
"contributors": ["Sasha Koss <koss@nocorp.me>", "Lesha Koss <regiusprod@gmail.com>"],
"license": "MIT",
"description": "Modern JavaScript date utility library",
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ cd - || exit

./scripts/build/docs.js
./scripts/release/updateFirebase.js
./scripts/release/tweet.js
./scripts/release/tweet.js # TODO: Skip tweet if it's a pre-release

0 comments on commit e1a8b07

Please sign in to comment.