docker icon indicating copy to clipboard operation
docker copied to clipboard

Verify tag name syntax in generate-stackbrew-library.sh

Open emanuelb opened this issue 6 years ago • 0 comments

Same concept as issue #287, ensure the latest variable in: https://github.com/phpmyadmin/docker/blob/490df186e5255d27b481b153e9e6d1a2d3fb525e/generate-stackbrew-library.sh#L60-L66 have valid version-string syntax (as this code assume the returned value from github is valid/not-malformed)

There are probably version format checks/regexes somewhere in the codebase, for example: https://github.com/phpmyadmin/scripts/blob/97108c6767e4c41463350d5d9c35b3a5b6e7a9b2/website/daily-composer#L110 So it's better to find them and reuse the code (if format change in future, easier to fix it everywhere)

emanuelb avatar May 08 '20 01:05 emanuelb