Created
January 5, 2023 05:34
-
-
Save LuviKunG/746a3853282c98583237f05c6e627025 to your computer and use it in GitHub Desktop.
This is Windows batch file that I used for commit UPM package version on git repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set packageFolder="Your package folder in unity Assets folder" | |
set /p version=Enter Version: | |
echo %version% | |
git subtree split --prefix="Assets/%packageFolder%" --branch upm | |
git tag %version% upm | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment