Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a latest tag #261

Open
ewallah opened this issue Dec 9, 2023 · 1 comment
Open

Add a latest tag #261

ewallah opened this issue Dec 9, 2023 · 1 comment
Labels
question Further information is requested

Comments

@ewallah
Copy link

ewallah commented Dec 9, 2023

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
@stronk7
Copy link
Member

stronk7 commented Dec 10, 2023

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 stronk7 added the question Further information is requested label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants