Skip to content

Commit

Permalink
Merge pull request #19 from BitGo/fix-generate-release
Browse files Browse the repository at this point in the history
fix: fix generate release workflow
  • Loading branch information
ericcrosson-bitgo authored Dec 24, 2024
2 parents 8cfe363 + cee03d1 commit 8ce6360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Get API specs and generate JSON files
run: |
PREVIOUS_MERGE=$(git rev-list --merges main | head -n 2 | tail -n 1)
PREVIOUS_MERGE=$(git rev-list --merges master | head -n 2 | tail -n 1)
git show $PREVIOUS_MERGE:api.yaml > previous.yaml || echo "v0.0.0" > previous.yaml
yq -o=json previous.yaml > previous.json
Expand Down

0 comments on commit 8ce6360

Please sign in to comment.