Open ewallah opened 11 months ago
Downloading the latest version of moodle-plugin-ci.phar should be easy, even without knowing the tag of the latest version.
The phar file works like a charm, locally but also in Github Actions:
wget -q https://github.com/moodlehq/moodle-plugin-ci/releases/download/4.1.8/moodle-plugin-ci.phar -O moodle-plugin-ci chmod +x moodle-plugin-ci ./moodle-plugin-ci selfupdate
But it would be easier (less maintenance when a new version is released) if the latest tag automatically refers to the latest version:
wget -q https://github.com/moodlehq/moodle-plugin-ci/releases/download/latest/moodle-plugin-ci.phar -O moodle-plugin-ci chmod +x moodle-plugin-ci
Sorry @ewallah , do you mean amend the docs or something like that? So far, the releases/download/latest works out of the box, so I'm not sure to understand what are you proposing.
releases/download/latest
Thanks for reporting!
Downloading the latest version of moodle-plugin-ci.phar should be easy, even without knowing the tag of the latest version.
The phar file works like a charm, locally but also in Github Actions:
But it would be easier (less maintenance when a new version is released) if the latest tag automatically refers to the latest version: