2.0.2 • Published 5 years ago

@ryansmith94/moodle-plugin-release v2.0.2

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
5 years ago

DEPRECATED DUE TO MOODLE API LIMITATIONS

Moodle Plugin Release

A CLI tool to automatically make releases to the Moodle Plugin Registry.

Usage

  1. Install with npm i -D -E @ryansmith94/moodle-plugin-release.
  2. Add a moodle-plugin-release script to your package.json file using moodle-plugin-release release -i <pluginId> -z <zipFile>.
  3. Add Travis deploy step.
  4. Add Travis environment variables.

Travis CI Deploy Step

deploy:
  - provider: script
    script: npm install && npm run moodle-plugin-release
    skip_cleanup: true
    on:
      tags: true
      php: 7.1

Travis CI Environment Variables

Requires the following custom environment variables in the Travis project settings.

This tool also uses the following pre-defined environment variables.

  • TRAVIS_REPO_SLUG - The slug of the Github repository (e.g. ryansmith94/moodle-plugin-release).
  • TRAVIS_TAG - The release tag on Github (e.g. v1.0.0).
2.0.2

5 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago