diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4ef8594..43ae78e 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -46,6 +46,7 @@ jobs: - name: Create Installer run: | git clone https://git.nevets.tech/Steven/TVPN-jre.git jre + $version = (Select-String -Path "build.gradle" -Pattern "^\s*version\s*=\s*'([^']+)'" | ForEach-Object { $_.Matches[0].Groups[1].Value }) ISCC /DMyAppVersion=$version "./installer-script.iss" - name: Upload artifacts uses: actions/upload-artifact@v3