fix releases-v3.json

This commit is contained in:
Kwoth
2021-09-06 18:44:28 +02:00
parent c3586c7a6d
commit b7553ac348
2 changed files with 3 additions and 1 deletions

View File

@@ -81,7 +81,8 @@ publish-windows:
- dotnet publish -c Release --runtime win7-x64 /p:Version=$CI_COMMIT_TAG src/NadekoBot
- $env:NADEKOBOT_INSTALL_VERSION = $CI_COMMIT_TAG
- iscc.exe "/O+" ".\exe_builder.iss"
- echo "{ \"VersionName\":\"$CI_COMMIT_TAG\", \"DownloadLink\":\"https://cdn.nadeko.bot/dl/bot/${INSTALLER_FILE_NAME}\" }" > "${INSTALLER_OUTPUT_DIR}/releases-v3.json"
- sed -i "s/INSTALLER_FILE_NAME/$INSTALLER_FILE_NAME/g" releases-v3.json
- mv releases-v3.json > "${INSTALLER_OUTPUT_DIR}/releases-v3.json"
tags:
- windows

1
releases-v3.json Normal file
View File

@@ -0,0 +1 @@
{ "VersionName":"$CI_COMMIT_TAG", "DownloadLink":"https://cdn.nadeko.bot/dl/bot/INSTALLER_FILE_NAME" }