mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-06 19:12:30 +01:00
Bump choco scripts version
Change build script to first build none steam version then publish to kelteseth.com. Follow with regular steam build
This commit is contained in:
parent
04e34f9358
commit
ce8ace41ea
@ -2,8 +2,8 @@
|
||||
<Package>
|
||||
<DisplayName>ScreenPlay</DisplayName>
|
||||
<Description>ScreenPlay is an Open Source cross-platform app for displaying Video Wallpaper & Widgets.</Description>
|
||||
<Version>0.15.0</Version>
|
||||
<ReleaseDate>2022-01-01</ReleaseDate>
|
||||
<Version>0.15.0-RC3</Version>
|
||||
<ReleaseDate>2022-11-02</ReleaseDate>
|
||||
<Default>true</Default>
|
||||
<Script>installscript.qs</Script>
|
||||
</Package>
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"version": "0.15.0-RC2",
|
||||
"version": "0.15.0-RC3",
|
||||
"description": "ScreenPlay is an Open Source Live-Wallpaper app for Windows and OSX. ",
|
||||
"homepage": "https://screen-play.app/",
|
||||
"url": "https://kelteseth.com/releases/$version/ScreenPlay-$version-x64-windows-release.zip",
|
||||
"hash": "37e36c9e1d3e0d4e95ea40a869f3e840787b6b5bb889a798b8e1aec5252e6ee5",
|
||||
"hash": "278f86a888810bab63af17309dd153a59eae35831232cd813c93e3ddb4e32b99",
|
||||
"bin": "ScreenPlay.exe",
|
||||
"license": "AGPL-3.0",
|
||||
"extract_dir": "bin",
|
||||
|
@ -79,11 +79,12 @@ if __name__ == "__main__":
|
||||
sys.exit(0)
|
||||
|
||||
if platform.system() == "Windows":
|
||||
# Steamless version first
|
||||
build_config.build_architecture = "x64"
|
||||
|
||||
if not args.skip_publish:
|
||||
# Steamless version first
|
||||
build_config.build_steam = "OFF"
|
||||
build_result = build.execute(build_config)
|
||||
|
||||
ssh = paramiko.SSHClient()
|
||||
ssh.load_system_host_keys()
|
||||
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||
@ -107,6 +108,7 @@ if __name__ == "__main__":
|
||||
ssh.close()
|
||||
|
||||
# Now build the steam version
|
||||
os.chdir(tools_path)
|
||||
build_config.build_steam = "ON"
|
||||
build_config.create_installer = "OFF"
|
||||
build_result = build.execute(build_config)
|
||||
|
@ -7,7 +7,7 @@ choco pack
|
||||
|
||||
Install the generated nupkg:
|
||||
```
|
||||
choco install screenplay.0.15.0-RC2.nupkg -dv -s .
|
||||
choco install screenplay.0.15.0-RC3.nupkg -dv -s .
|
||||
```
|
||||
|
||||
Set api key from [https://community.chocolatey.org/account](https://community.chocolatey.org/account):
|
||||
@ -17,5 +17,5 @@ choco apikey --key AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAA --source https://push.chocol
|
||||
|
||||
Psuh:
|
||||
```
|
||||
choco push screenplay.0.15.0-RC2.nupkg --source https://push.chocolatey.org/
|
||||
choco push screenplay.0.15.0-RC3.nupkg --source https://push.chocolatey.org/
|
||||
```
|
@ -2,7 +2,7 @@
|
||||
$ErrorActionPreference = 'Stop';
|
||||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
||||
$url = ''
|
||||
$url64 = 'https://kelteseth.com/releases/0.15.0-RC2/ScreenPlay-0.15.0-RC2-x64-windows-release.zip'
|
||||
$url64 = 'https://kelteseth.com/releases/0.15.0-RC3/ScreenPlay-0.15.0-RC3-x64-windows-release.zip'
|
||||
|
||||
$packageArgs = @{
|
||||
packageName = $env:ChocolateyPackageName
|
||||
@ -14,7 +14,7 @@ $packageArgs = @{
|
||||
softwareName = 'ScreenPlay*'
|
||||
checksum = ''
|
||||
checksumType = 'sha256'
|
||||
checksum64 = '0502e549ff4f10ec8b9090eb1fc35a9fe6297ea64f435aaefd87a77e5f70190f'
|
||||
checksum64 = '278f86a888810bab63af17309dd153a59eae35831232cd813c93e3ddb4e32b99'
|
||||
checksumType64= 'sha256'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user