-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
warm with minduration; extend cam info with TargetTemp and AtTargetTemp
- Loading branch information
1 parent
ddbb922
commit 502b7c6
Showing
3 changed files
with
111 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,27 @@ | ||
dotnet build C:\Users\Christian\source\repos\NINA\ninaAPI\ninaAPI\ninaAPI.csproj /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary /p:Configuration=Release /p:Platform="AnyCPU" | ||
pwsh.exe CreateNET7Manifest.ps1 -file "C:\Users\Christian\AppData\Local\NINA\Plugins\3.0.0\Advanced API\ninaAPI.dll" -includeAll -createArchive | ||
pwsh -Command Compress-Archive -Path 'C:\Users\Christian\AppData\Local\NINA\Plugins\3.0.0\Advanced API\*' -Destination ninaAPI.zip -Force | ||
set /p beta="Should this be a beta release? y/n: " | ||
set /p version="Version: " | ||
if %beta%==y ( | ||
set /p b_v="What beta version is that?: " | ||
gh release create %version%-b.%b_v% ninaAPI.zip -title ninaAPI %version%-beta %b_v% -p | ||
pwsh.exe CreateNET7Manifest.ps1 -file ninaAPI.zip -beta -installerUrl "https://github.com/christian-photo/ninaAPI/releases/download/%version%-b.%b_v%/ninaAPI.zip" | ||
) | ||
else ( | ||
gh release create %version% ninaAPI.zip -title %version% | ||
pwsh.exe CreateNET7Manifest.ps1 -file ninaAPI.zip -installerUrl "https://github.com/christian-photo/ninaAPI/releases/download/%version%/ninaAPI.zip" | ||
) | ||
cd .. | ||
cd .. | ||
cd nina.plugin.manifests | ||
git pull | ||
git pull https://AstroChris23@bitbucket.org/Isbeorn/nina.plugin.manifests.git | ||
copy ..\ninaAPI\ninaAPI\manifest.json manifests\n\ninaAPI\3.0.0\manifest.json | ||
echo "Please finish the manifest and upload the file" | ||
pause | ||
copy ..\ninaAPI\ninaAPI\manifest.json manifests\n\ninaAPI\3.0.0\%version%\manifest.json | ||
echo "Testing the manifest" | ||
node gather | ||
echo "Please verify that the test ran successfully" | ||
pause | ||
set /p "version=Enter Version: " | ||
git add manifests\n\ninaAPI\3.0.0\* | ||
git commit -m "Added ninaAPI manifest" | ||
git commit -m "Added ninaAPI manifest for version %version%" | ||
git push origin main | ||
pause |