A note-to-self to make dist.sh verify that the new-version is in fact newer in semver terms than the current version... we avoid setting release candidates as current, but we dont guard against setting older versions as current. Minor but feels like a foot gun.
|
case "$nvers" in |
|
*-*) echo "WARNING: not marking pre-release $dist $nvers as the current version." ;; |
|
*) echo "$nvers" > "dists/$dist/current" ;; |
|
esac |
|
|
|
echo "$nvers" >> "dists/$dist/versions" |
A note-to-self to make dist.sh verify that the new-version is in fact newer in semver terms than the current version... we avoid setting release candidates as current, but we dont guard against setting older versions as current. Minor but feels like a foot gun.
distributions/dist.sh
Lines 58 to 63 in 211588d