moodle-plugin-ci icon indicating copy to clipboard operation
moodle-plugin-ci copied to clipboard

Add a latest tag

Open ewallah opened this issue 1 year ago • 1 comments

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

ewallah avatar Dec 09 '23 15:12 ewallah

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.

Thanks for reporting!

stronk7 avatar Dec 10 '23 17:12 stronk7