haxpor / aseprite-macos-buildsh

Automated script to create latest release app (either beta, or release whichever is newer) of Aseprite for macOS
MIT License
156 stars 42 forks source link

error: pathspec 'master' did not match any file(s) known to git. #15

Open Hebiscuits opened 3 years ago

Hebiscuits commented 3 years ago

Im trying to build Aseprite on Macos 10.13.6 and after it sets all the submodule paths, i get this error from git saying

"error: pathspec 'master' did not match any file(s) known to git."

im not sure how i can fix this.

klep commented 3 years ago

The main branch is now called main, not master. You can update this manually in the script. I plan to submit a PR for it as well.

haxpor commented 3 years ago

Thanks @MaxiPrimal for reporting. As well thanks @klep for noticing, I'm happy to look into your PR and merge later.

klep commented 3 years ago

Actually @haxpor, I think neither main nor master should be used. It looks like later on you're switching to the latest release tag. Doing some of the work off main and later doing the final compilation off the release tag resulted in link errors for me.