Publishes a new version of the license list.
See the createOptions method for a description of the options used, or execute the command without parameters to get a list of the parameters from the command line
The license list data is taken from the github repository spdx/license-list-XML,
https://github.com/spdx/license-list-XML
The first parameter is the release ID for the license list. The license-list-XML
tag MUST contain a tag in the master branch matching the the release ID.
The 2nd and 3rd parameters are the username and passwords for github.
If there are no errors or warnings, the license data is published to the github repository
spdx/license-list-data, https://github.com/spdx/license-list-data
The output is tagged by release
To publish the license list to spdx.org/licenses, the following steps should be
performed on the linux server hosting the spdx.org/license website (currently phpphpweb1.linux-foundation.org):
1. Create a new subdirectory in the ~/licenseArchive directory with the format mm-dd-yyyy where mm is the month, dd is the day, and yyyy
is the year the files were uploaded.
2. Upload the files from the spdx/license-list-data github repository website folder from the correct tag to a the folder created in step 1
3. Backup the current files by replacing the files in the ~/backup folder with the files in ~/www/spdx/content/licenses.
IMPORTANT NOTE: Do NOT do a recursive copy, only copy the files and do NOT copy any subdirectories.
4. Create a new subdirectory ~/www/spdx/content/licenses/archive/archived_ll_vx.xx where x.xx is the version of the PREVIOUSLY PUBLISHED
license list being replaced.
5. Copy the files from ~/backup to the subdirectory created in step 4
6. Edit the file ~/www/spdx/content/licenses/archive/archived_ll_vx.xx/index.html. Add the line
"
THIS IS NOT THE CURRENT VERSION OF THE SPDX LICENSE LIST. Â
PLEASE USE THE CURRENT VERSION, LOCATED AT: http://spdx.org/licenses/"
immediately prior to the line "SPDX License List
"
7. Copy the files from the subdirectory created in steps 1 and 2 to ~/www/spdx/content/licenses
8. If there are any problems, copy the files from the backup back to ~/www/spdx/content/licenses