build: semver baslangici — versiyon tek kaynak pubspec.yaml (1.0.1), rebuild-deb.sh + installer.iss pubspec'tan turetir, eski 1.0.0 uretimleri kaldirildi
This commit is contained in:
1 parent
35bbb0b885
commit
2e82a47ae3
7 files changed
+25
-25
No files matched your search
@@ -26,6 +26,13 @@ jobs:
|
||||
run: |
|
||||
choco install innosetup --no-progress -y
|
||||
|
||||
- name: Sync version from pubspec.yaml
|
||||
shell: pwsh
|
||||
run: |
|
||||
$version = (Select-String -Path pubspec.yaml -Pattern '^version:\s*([0-9]+\.[0-9]+\.[0-9]+)').Matches[0].Groups[1].Value
|
||||
(Get-Content windows/installer.iss -Raw) -replace '#define MyAppVersion "[^"]+"', "#define MyAppVersion `"$version`"" | Set-Content windows/installer.iss
|
||||
Write-Host "Inno Setup version: $version"
|
||||
|
||||
- name: Build Inno Setup installer
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user