|
|
@@ -95,7 +95,7 @@ jobs:
|
|
|
GITHUB_TOKEN: ${{ secrets.FLIPPER_TOKEN }}
|
|
|
INPUT_VERSION: ${{ inputs.version }}
|
|
|
run: |
|
|
|
- Write-Output "::notice title=${{ matrix.firmware }}) Input Version Number::v${{ inputs.version }}"
|
|
|
+ Write-Output "::notice title=${{ matrix.firmware }} Input Version Number::v${{ inputs.version }}"
|
|
|
$fwInfo = ((gh release view --json tagName,url -R ${{ matrix.url }}) | ConvertFrom-Json)
|
|
|
cd '${{ env.APP_PATH }}'
|
|
|
$sha = (git rev-parse --verify HEAD)
|
|
|
@@ -104,7 +104,7 @@ jobs:
|
|
|
$latestTag = ((gh release view --json tagName,url -R ${{ vars.REPO_SELF }}) | ConvertFrom-Json ).tagName
|
|
|
|
|
|
if ( [string]::IsNullOrWhitespace($env:INPUT_VERSION) ) {
|
|
|
- Write-Output "::notice title=${{ matrix.firmware }}) Latest tag::$latestTag"
|
|
|
+ Write-Output "::notice title=${{ matrix.firmware }} Latest tag::$latestTag"
|
|
|
|
|
|
$lastIndex = $latestTag.LastIndexOf('.')
|
|
|
|
|
|
@@ -121,10 +121,10 @@ jobs:
|
|
|
$releaseVersion = $releaseVersion.Substring(1)
|
|
|
}
|
|
|
|
|
|
- Write-Output "::notice title=${{ matrix.firmware }}) RELEASE_VERSION::$releaseVersion"
|
|
|
- Write-Output "::notice title=${{ matrix.firmware }}) SHA::$sha"
|
|
|
- Write-Output "::notice title=${{ matrix.firmware }}) FW_VERSION::$fwInfo.tagName"
|
|
|
- Write-Output "::notice title=${{ matrix.firmware }}) PREV_TAG::$latestTag"
|
|
|
+ Write-Output "::notice title=${{ matrix.firmware }} RELEASE_VERSION::$releaseVersion"
|
|
|
+ Write-Output "::notice title=${{ matrix.firmware }} SHA::$sha"
|
|
|
+ Write-Output "::notice title=${{ matrix.firmware }} FW_VERSION::$fwInfo.tagName"
|
|
|
+ Write-Output "::notice title=${{ matrix.firmware }} PREV_TAG::$latestTag"
|
|
|
|
|
|
Write-Output ('RELEASE_VERSION={0}' -f $releaseVersion) >> $env:GITHUB_ENV
|
|
|
Write-Output ('SHA={0}' -f $sha) >> $env:GITHUB_ENV
|