File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 55 "release-type" : " simple" ,
66 "changelog-path" : " CHANGELOG.md" ,
77 "extra-files" : [
8- { "type" : " generic" , "path" : " version.txt" }
8+ { "type" : " generic" , "path" : " Assets/ version.txt" }
99 ]
1010 }
1111 }
Original file line number Diff line number Diff line change @@ -42,10 +42,11 @@ jobs:
4242 CODE=$((MAJOR*10000 + MINOR*100 + PATCH))
4343 echo "Computed versionCode: $CODE"
4444
45- echo $CODE > versionCode.txt
45+ # Write into Assets/ (not repo root)
46+ echo $CODE > Assets/versionCode.txt
4647
4748 git config user.name "github-actions[bot]"
4849 git config user.email "github-actions[bot]@users.noreply.github.com"
49- git add versionCode.txt
50+ git add Assets/ versionCode.txt
5051 git commit -m "chore(android): set versionCode $CODE for $VER" || echo "No changes to commit"
5152 git push
You can’t perform that action at this time.
0 commit comments