File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 7.7.6 (2024-05-17)
4+
5+ - Fixed issue where meta files for the MacOS bundle were not generated. [ #802 ] ( https://github.com/bugsnag/bugsnag-unity/pull/802 )
6+
7+
38## 7.7.5 (2024-05-02)
49
510### Bug Fixes
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ var target = Argument("target", "Default");
55var solution = File ( "./BugsnagUnity.sln" ) ;
66var configuration = Argument ( "configuration" , "Release" ) ;
77var project = File ( "./src/BugsnagUnity/BugsnagUnity.csproj" ) ;
8- var version = "7.7.5 " ;
8+ var version = "7.7.6 " ;
99
1010Task ( "Restore-NuGet-Packages" )
1111 . Does ( ( ) => NuGetRestore ( solution ) ) ;
Original file line number Diff line number Diff line change 1616
1717VERSION=$1
1818
19- if [ -z " $UNITY_VERSION " ]
19+ if [ -z " $UNITY_UPM_VERSION " ]
2020then
21- echo " UNITY_VERSION must be set"
21+ echo " UNITY_UPM_VERSION must be set"
2222 exit 1
2323fi
2424
25- UNITY_PATH=" /Applications/Unity/Hub/Editor/$UNITY_VERSION /Unity.app/Contents/MacOS"
25+ # There is a bug in some versions of unity 2020, 2021 and 2022 where macos bundles will not be imported as a single plugin file.
26+ # In which case all sub dirs and files must have .meta files to work with UPM.
27+ # Building the UPM package with unity 2019 ensures that the meta files are created
28+
29+ if [[ " $UNITY_UPM_VERSION " != * " 2019" * ]]; then
30+ echo " ERROR: UNITY_UPM_VERSION must be a version of Unity 2019. See script comments for details."
31+ exit 1
32+ fi
33+
34+ UNITY_PATH=" /Applications/Unity/Hub/Editor/$UNITY_UPM_VERSION /Unity.app/Contents/MacOS"
2635
2736
2837
@@ -72,4 +81,4 @@ sed -i '' "s/VERSION_STRING/$VERSION/g" "$PACKAGE_DIR/package.json"
7281sed -i ' ' " s/VERSION_STRING/v$VERSION /g" " $PACKAGE_DIR /README.md"
7382
7483
75- echo " complete, ready to deploy"
84+ echo " complete, ready to deploy"
You can’t perform that action at this time.
0 commit comments