Skip to content

Commit

Permalink
Fix PR reaction workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Nov 4, 2023
1 parent 4d0a14c commit 53fe164
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/master-pull-request-merge-reaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,11 @@ jobs:
match_end: \)
run: |
$project_lists = Get-Content -Raw CMakeLists.txt
if(!($project_lists -match '(?<=${{ env.match_start
}})(.*)(?=${{
env.match_end
}})')){
throw"Could not get target FP version!"
}
$target_version="v$($Matches[1].Trim())"
echo"fp_version=$target_version">> $Env:GITHUB_OUTPUT
if(!($project_lists -match '(?<=${{ env.match_start }})(.*)(?=${{ env.match_end }})')){
throw "Could not get target FP version!"
}
$target_version = "v$($Matches[1].Trim())"
echo "fp_version=$target_version" >> $Env:GITHUB_OUTPUT
- name: Tag master with new version tag
uses: oblivioncth/actions/git/tag@dev
with:
Expand Down

0 comments on commit 53fe164

Please sign in to comment.