Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imaandrew authored Nov 28, 2020
1 parent e715761 commit 2bf24c9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ install:

before_build:
- ps: >-
Invoke-WebRequest https://github.com/ThatWeirdAndrew/GentooWSL-FS/releases/latest/download/install.tar.gz -OutFile x64\install.tar.gz -UseBasicParsing
$version='Version="' + $(Get-Date -Format "yy.MM.dd") + '.0"'
$env:VERSIONDATE=$(Get-Date -Format "yy.MM.dd") + '.0'
$file_contents = $(Get-Content .\DistroLauncher-Appx\MyDistro.appxmanifest) -replace 'Version="1.1.1.1"', $version
$file_contents | Out-File "DistroLauncher-Appx\MyDistro.appxmanifest" -Encoding utf8
Invoke-WebRequest https://github.com/ThatWeirdAndrew/GentooWSL-FS/releases/latest/download/install.tar.gz -OutFile x64\install.tar.gz -UseBasicParsing
$version='Version="' + $(Get-Date -Format "yy.MM.dd") + '.0"'
$env:VERSIONDATE=$(Get-Date -Format "yy.MM.dd") + '.0'
$file_contents = $(Get-Content .\DistroLauncher-Appx\MyDistro.appxmanifest) -replace 'Version="1.1.1.1"', $version
$file_contents | Out-File "DistroLauncher-Appx\MyDistro.appxmanifest" -Encoding utf8
build_script:
- cmd: build.bat x64 rel
- ps: >-
mkdir Artifacts
copy "AppPackages\DistroLauncher-Appx\DistroLauncher-Appx_${ENV:VERSIONDATE}_Test\*.cer" Artifacts
copy "AppPackages\DistroLauncher-Appx\DistroLauncher-Appx_${ENV:VERSIONDATE}_Test\*.appxbundle" Artifacts
mkdir Artifacts
copy "AppPackages\DistroLauncher-Appx\DistroLauncher-Appx_${ENV:VERSIONDATE}_Test\*.cer" Artifacts
copy "AppPackages\DistroLauncher-Appx\DistroLauncher-Appx_${ENV:VERSIONDATE}_Test\*.appxbundle" Artifacts
artifacts:
- path: Artifacts\*.cer
Expand Down

0 comments on commit 2bf24c9

Please sign in to comment.