spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

https://spdx.github.io/spdx-spec/latest/ redirects to v2.3

Open bact opened this issue 1 year ago • 1 comments

The URL https://spdx.github.io/spdx-spec/latest/ is redirected to https://spdx.github.io/spdx-spec/v2.3/

The general expected behaviour for latest/ is to redirected to the latest (stable) version available, which currently is v3.0.

bact avatar Apr 28 '24 22:04 bact

Should this line:

https://github.com/spdx/spdx-spec/blob/f148837fa65ea5ce88c65531480404453c15fd26/.github/workflows/publish_v3.yml#L52

be written like this instead?:

run: mike deploy v3.0 latest -b gh-pages -p 

to make latest an alias for v3.0

This will effectively changes the content of versions.json:

https://github.com/spdx/spdx-spec/blob/21d9152828de976d19cef5e4b7dd564da2d92f97/versions.json#L1

bact avatar Apr 28 '24 22:04 bact