Skip to content

Commit 55d0f05

Browse files
authored
Update convert-to-test.yml
1 parent af47a3c commit 55d0f05

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/convert-to-test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@ name: Convert branch to test release
22

33
on:
44
workflow_dispatch:
5+
56
jobs:
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

0 commit comments

Comments
 (0)