Skip to content

Commit

Permalink
feat: Adds automatic registry releasing. (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryasmi authored Jul 19, 2018
1 parent 9edd2af commit fa3c87e
Show file tree
Hide file tree
Showing 4 changed files with 326 additions and 26 deletions.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ root = true
[*]
end_of_line = lf
indent_style = space
indent_size = 4
indent_size = 2
charset = utf-8

[*.php]
indent_size = 4
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,15 @@ before_deploy:
- sh ./scripts/generateZipFile.sh

deploy:
provider: releases
api_key: $GH_TOKEN
file: xapi.zip
skip_cleanup: true
on:
tags: true
php: 7.1
- provider: releases
api_key: $GH_TOKEN
file: xapi.zip
skip_cleanup: true
on:
tags: true
php: 7.1
- provider: script
script: npm install && npm run moodle-plugin-release
on:
tags: true
php: 7.1
Loading

0 comments on commit fa3c87e

Please sign in to comment.