Updating fixes.
This commit is contained in:
parent
64f841052b
commit
0a36ecf066
@ -92,7 +92,7 @@ end;
|
|||||||
|
|
||||||
procedure CurStepChanged(CurStep: TSetupStep);
|
procedure CurStepChanged(CurStep: TSetupStep);
|
||||||
begin
|
begin
|
||||||
if (CurStep = ssInstall) then
|
if (CurStep = ssPostInstall) then
|
||||||
begin
|
begin
|
||||||
if FileExists(GetFileName('credentials_example.json')) and not FileExists(GetFileName('credentials.json')) then
|
if FileExists(GetFileName('credentials_example.json')) and not FileExists(GetFileName('credentials.json')) then
|
||||||
RenameFile(GetFileName('credentials_example.json'), GetFileName('credentials.json'));
|
RenameFile(GetFileName('credentials_example.json'), GetFileName('credentials.json'));
|
||||||
|
@ -2,6 +2,9 @@ function GitHub-Release($versionNumber)
|
|||||||
{
|
{
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
|
git pull
|
||||||
|
git push #making sure commit id exists on remote
|
||||||
|
|
||||||
$nl = [Environment]::NewLine
|
$nl = [Environment]::NewLine
|
||||||
$env:NADEKOBOT_INSTALL_VERSION=$versionNumber
|
$env:NADEKOBOT_INSTALL_VERSION=$versionNumber
|
||||||
$gitHubApiKey = $env:GITHUB_API_KEY
|
$gitHubApiKey = $env:GITHUB_API_KEY
|
||||||
|
Loading…
Reference in New Issue
Block a user