Open jamiejackson opened 1 month ago
Hello,
I had been using this in my Dockerfile (which may have been a hack to begin with):
RUN wget -q $( \ wget -q -O - https://api.github.com/repos/softwareCobbler/luceedebug/releases/latest \ | jq -r '.assets[] | select(.name=="luceedebug.jar").browser_download_url' \ ) \
Now that luceedebug is publishing with version numbers in the jar name, what's the proper way to get latest?
For now, I'm pinning with:
RUN wget -O luceedebug.jar https://github.com/softwareCobbler/luceedebug/releases/download/agent%2F2.0.12/luceedebug-2.0.12.jar
putzin' with jq, something like one of
jq -r '.assets[] | select(.name | test("^luceedebug-.*\\.jar$"))' jq -r '.assets[] | select(.name | test("^luceedebug-\\d+\\.\\d+\\.\\d+\\.jar$"))'
Hello,
I had been using this in my Dockerfile (which may have been a hack to begin with):
Now that luceedebug is publishing with version numbers in the jar name, what's the proper way to get latest?
For now, I'm pinning with: