File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,24 @@ name: Convert branch to test release
22
33on :
44 workflow_dispatch :
5+
56jobs :
67 convert :
78 runs-on : ubuntu-latest
9+
810 steps :
911 - name : Checkout branch
1012 uses : actions/checkout@v4
11- with :
12- ref : ${{ github.ref }}
13+
1314 - name : Modify files for test release
1415 run : |
15- # Change package name in google-services.json
1616 sed -i 's/com.eveningoutpost.dexdrip/com.eveningoutpost.dexdrip.test/g' app/google-services.json
17+ sed -i 's/xDrip+/xDrip+ Test/g' app/src/main/res/values/internal.xml
18+
1719 - name : Commit changes
1820 run : |
1921 git config user.name "github-actions"
2022 git config user.email "actions@github.com"
2123 git add .
22- git commit -m "Convert branch to test release"
24+ git commit -m "Convert branch to test release" || echo "No changes to commit"
2325 git push
You can’t perform that action at this time.
0 commit comments