Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 30e4af5

Browse files
committed
Make the commit count the last part of the version number
1 parent cc678f6 commit 30e4af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ rm -f unity/PackageProject/Assets/Plugins/GitHub/Editor/*.xml
6161
Version=`sed -En 's,.*Version = "(.*)".*,\1,p' common/SolutionInfo.cs`
6262
commitcount=`git rev-list --count HEAD`
6363
commit=`git log -n1 --pretty=format:%h`
64-
Version="${Version}-${commitcount}-${commit}"
64+
Version="${Version}.${commitcount}-${commit}"
6565
Version=$Version
6666
export GITHUB_UNITY_DISABLE=1
6767
"$Unity" -batchmode -projectPath "`pwd`/unity/PackageProject" -exportPackage Assets/Plugins/GitHub/Editor github-for-unity-$Version.unitypackage -force-free -quit

0 commit comments

Comments
 (0)