echo "creating a release with tag={{ version }}" 

.\release-cli.exe --server-url "https://gitlab.bigrep.com" ^
--project-id 267 --job-token %1 ^
create --description "{{ description }}" --tag-name "{{ version }}" ^
--assets-link "{\"name\":\"Changelog\",\"url\":\"https://gitlab.bigrep.com/blade/blade-client/-/jobs/{{ job_id }}/artifacts/raw/resources/texts/change_log.txt\"}" ^
--assets-link "{\"name\":\"Installer alpha\",\"url\":\"https://gitlab.bigrep.com/blade/blade-client/-/jobs/{{ job_id }}/artifacts/raw/dist/temp_installer_dir/blade-installer-alpha-{{ pipeline_id }}.exe\"}" ^
--assets-link "{\"name\":\"Installer fleet\",\"url\":\"https://gitlab.bigrep.com/blade/blade-client/-/jobs/{{ job_id }}/artifacts/raw/dist/temp_installer_dir/blade-installer-fleet-{{ pipeline_id }}.exe\"}" ^
--assets-link "{\"name\":\"Installer internal\",\"url\":\"https://gitlab.bigrep.com/blade/blade-client/-/jobs/{{ job_id }}/artifacts/raw/dist/temp_installer_dir/blade-installer-internal-{{ pipeline_id }}.exe\"}" ^
--assets-link "{\"name\":\"Installer external\",\"url\":\"https://gitlab.bigrep.com/blade/blade-client/-/jobs/{{ job_id }}/artifacts/raw/dist/temp_installer_dir/blade-installer-external-{{ pipeline_id }}.exe\"}" ^
--assets-link "{\"name\":\"Material Status\",\"url\":\"https://gitlab.bigrep.com/blade/blade-client/-/jobs/{{ job_id }}/artifacts/raw/resources/texts/material_status.csv\"}" ^
--assets-link "{\"name\":\"latest.json\",\"url\":\"https://gitlab.bigrep.com/blade/blade-client/-/jobs/{{ job_id }}/artifacts/raw/latest.json\"}" ^
--assets-link "{\"name\":\"Source Code\",\"url\":\"https://gitlab.bigrep.com/blade/blade-client/-/jobs/{{ job_id }}/artifacts/raw/BigRep_Blade_Client_Source_Code-{{ version }}.zip\"}"
