Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
olegsu committed May 27, 2022
1 parent 4491b5e commit 09aa7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
gh auth login --with-token < token
go install github.com/davidrjonas/semver-cli@latest
commit=$(git log --format="%H" -n 1)
last_pr=$(gh api -X GET search/issues -f q="repo:olegsu/bizbuzim is:closed is:pr sort:created-desc $commit" --jq '.items[0].number')
last_pr=$(gh api -X GET search/issues -f q="repo:olegsu/pull-requests-robot is:closed is:pr sort:created-desc $commit" --jq '.items[0].number')
if [[ $last_pr = "" ]]; then echo "No pull request found" && exit 0; fi;
bump=$(gh pr view $last_pr --json labels --jq '.labels | map(select(.name | contains("release")) | .name) | .[0]' | sed s/release-//g)
Expand Down

0 comments on commit 09aa7bd

Please sign in to comment.