Skip to content

Commit

Permalink
Fix formula path after sharding of homebrew-core
Browse files Browse the repository at this point in the history
  • Loading branch information
williammartin committed Sep 1, 2023
1 parent 341d7a9 commit a26f2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export async function prepareEdit(
}
const formulaName = getInput('formula-name') || ctx.repo.repo.toLowerCase()
const branch = getInput('base-branch')
const filePath = getInput('formula-path') || `Formula/${formulaName}.rb`
const filePath = getInput('formula-path') || `Formula/${formulaName.charAt(0)}/${formulaName}.rb`
const version = tagName.replace(/^v(\d)/, '$1')
const downloadUrl =
getInput('download-url') ||
Expand Down

0 comments on commit a26f2e4

Please sign in to comment.