Merge branch 'main' of github.com:skykooler/Lightningbeam

This commit is contained in:
Skyler Lehmkuhl 2024-12-19 04:22:51 -05:00
commit 0e7f64deca
1 changed files with 9 additions and 4 deletions

View File

@ -57,9 +57,9 @@ jobs:
# Replace '-alpha' with '-0' and '-beta' with '-1' for Windows version # Replace '-alpha' with '-0' and '-beta' with '-1' for Windows version
if ($VERSION -match "-alpha") { if ($VERSION -match "-alpha") {
$WINDOWS_VERSION = $VERSION -replace "-alpha$", "-0" $WINDOWS_VERSION = $VERSION -replace "-alpha", "-1"
} elseif ($VERSION -match "-beta") { } elseif ($VERSION -match "-beta") {
$WINDOWS_VERSION = $VERSION -replace "-beta$", "-1" $WINDOWS_VERSION = $VERSION -replace "-beta", "-2"
} else { } else {
$WINDOWS_VERSION = $VERSION $WINDOWS_VERSION = $VERSION
} }
@ -72,7 +72,12 @@ jobs:
echo "VERSION=$VERSION" >> $env:GITHUB_ENV echo "VERSION=$VERSION" >> $env:GITHUB_ENV
- name: Print contents of tauri.windows.conf.json (Windows)
if: matrix.platform == 'windows-latest' # Only run on Windows
shell: pwsh
run: |
Write-Host "Contents of src-tauri/tauri.windows.conf.json:"
Get-Content src-tauri/tauri.windows.conf.json
- name: setup pnpm - name: setup pnpm
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v2
@ -105,7 +110,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tagName: "app-v${{ env.VERSION }}" # Use the original version tag for the release tagName: "app-v${{ env.VERSION }}" # Use the original version tag for the release
releaseName: "App v${{ env.VERSION }}" releaseName: "Lightningbeam v${{ env.VERSION }}"
releaseBody: 'See the assets to download this version and install.' releaseBody: 'See the assets to download this version and install.'
releaseDraft: true # Set to true if you want the release to be a draft releaseDraft: true # Set to true if you want the release to be a draft
prerelease: true prerelease: true