forked from MapComplete/MapComplete
Scripts: attempt to push to android repo
This commit is contained in:
parent
406a69e80e
commit
b27cd15ffc
1 changed files with 2 additions and 3 deletions
|
@ -34,17 +34,16 @@ jobs:
|
||||||
|
|
||||||
- name: Update android repo
|
- name: Update android repo
|
||||||
run: |
|
run: |
|
||||||
ls
|
|
||||||
cd android
|
cd android
|
||||||
git checkout main
|
git checkout main
|
||||||
git pull
|
git pull
|
||||||
git config user.name "Android file update bot"
|
git config user.name "Bot"
|
||||||
git config user.email "info@mapcomplete.org"
|
git config user.email "info@mapcomplete.org"
|
||||||
date > date.txt
|
date > date.txt
|
||||||
git add date.txt
|
git add date.txt
|
||||||
git commit -m "Add files for release ${{ github.ref_name }}"
|
git commit -m "Add files for release ${{ github.ref_name }}"
|
||||||
git tag "${{ github.ref_name }}"
|
git tag "${{ github.ref_name }}"
|
||||||
git remote set-url origin https://Bot:${{ secrets.BOT_PASSWORD }}@source.mapcomplete.org/MapComplete/android-wrapper.git
|
git remote set-url origin "https://Bot:${{ secrets.BOT_PASSWORD }}@source.mapcomplete.org/MapComplete/android-wrapper.git"
|
||||||
git remote -v
|
git remote -v
|
||||||
git push origin main --verbose --follow-tags
|
git push origin main --verbose --follow-tags
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue