Skip to content

Commit

Permalink
Merge pull request #10 from PinguApps/fix-release-actions
Browse files Browse the repository at this point in the history
Made small fix to release
  • Loading branch information
pingu2k4 authored May 14, 2024
2 parents e175d25 + beab427 commit bf9ea1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id: pr-title
run: |
if [ "${{ github.event_name }}" = "push" ]; then
PR_NUMBER=$(jq -r '.[0].pull_request.number' < "${GITHUB_EVENT_PATH}")
PR_NUMBER=$(jq -r '.number' < "${GITHUB_EVENT_PATH}")
else
PR_NUMBER=$(gh pr list --base main --state merged --limit 1 --json number --jq '.[0].number')
fi
Expand Down

0 comments on commit bf9ea1f

Please sign in to comment.