File tree Expand file tree Collapse file tree
src/client/StarterPlayerScripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - name : Report tool versions
2424 run : rojo --version
2525
26+ - name : Generate version.lua
27+ run : |
28+ VERSION=$(jq -r .version package.json)
29+ echo "return {" > src/shared/version.lua
30+ echo " version = '${VERSION}'," >> src/sharedversion.lua
31+ echo " commit = '$(git rev-parse HEAD)'," >> src/shared/version.lua
32+ echo " branch = '${GITHUB_REF##*/}'," >> src/shared/version.lua
33+ echo "}" >> src/shared/version.lua
34+
2635 - name : Deploy
2736 run : rojo upload --api_key "$API_KEY" --universe_id 7672663738 -v --asset_id 107505894422783
2837 env :
Original file line number Diff line number Diff line change 11print ("Test" );
2- print ("test2" );
2+ print ("test2" );
3+
4+ local version = game .ReplicatedStorage :WaitForChild ("Version" );
5+ print (version .version )
6+ print (version .commit )
7+ print (version .branch )
You can’t perform that action at this time.
0 commit comments