Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix BuildInfoGenerator: wrong version number and missing commit hash #299

Merged
merged 4 commits into from
May 11, 2022

Conversation

achimmihca
Copy link
Collaborator

@achimmihca achimmihca commented May 11, 2022

What does this PR do?

Unity's API returns a wrong value when using ProjectSettings.bundleVersion.
The value is now fetched directly from ProjectSettings.asset file, which contains the correct value.

Git has some issue such that it does not return the commit hash when running the GitHub Actions build.
The value is now fetched from file .git/refs/heads/master without using any Git commands.

Besides this, it also adds workflow_dispatch to the GitHub Actions config to start them manually.

Closes Issue(s)

close #289

Additional Notes

  • This annoyance was preventing the new release. Will create a release shortly.

@achimmihca
Copy link
Collaborator Author

WTF, the tests were running fine few minutes ago in my fork...

@achimmihca
Copy link
Collaborator Author

IDK, let's if the executable build works

@achimmihca achimmihca merged commit 0b25653 into UltraStar-Deluxe:master May 11, 2022
@achimmihca
Copy link
Collaborator Author

IDK, let's if the executable build works

It worked! Didn't expected that to be honest 🤣
Whaaatever

@basisbit
Copy link
Member

nice one!

@supernevi
Copy link
Contributor

Good work 💪🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Popup with showing new version, but this is the newest version
3 participants