diff --git a/NadekoBot.iss b/NadekoBot.iss index e933c4d0..9933f639 100644 --- a/NadekoBot.iss +++ b/NadekoBot.iss @@ -92,7 +92,7 @@ end; procedure CurStepChanged(CurStep: TSetupStep); begin - if (CurStep = ssInstall) then + if (CurStep = ssPostInstall) then begin if FileExists(GetFileName('credentials_example.json')) and not FileExists(GetFileName('credentials.json')) then RenameFile(GetFileName('credentials_example.json'), GetFileName('credentials.json')); diff --git a/release.ps1 b/release.ps1 index 630ec22c..560b215c 100644 --- a/release.ps1 +++ b/release.ps1 @@ -2,6 +2,9 @@ function GitHub-Release($versionNumber) { $ErrorActionPreference = "Stop" + git pull + git push #making sure commit id exists on remote + $nl = [Environment]::NewLine $env:NADEKOBOT_INSTALL_VERSION=$versionNumber $gitHubApiKey = $env:GITHUB_API_KEY