Workflows um Format Stage erweitern #175
@@ -126,14 +126,14 @@ jobs:
|
|||||||
bump-build: false
|
bump-build: false
|
||||||
path: './pubspec.yaml'
|
path: './pubspec.yaml'
|
||||||
|
|
||||||
- name: Format code
|
- name: Commit version update
|
||||||
run: |
|
run: |
|
||||||
git fetch origin ${{ gitea.head_ref }}
|
git fetch origin ${{ gitea.head_ref }}
|
||||||
git checkout ${{ gitea.head_ref }}
|
git checkout ${{ gitea.head_ref }}
|
||||||
|
|
||||||
git config --global user.name "Gitea Actions [bot]"
|
git config --global user.name "Gitea Actions [bot]"
|
||||||
git config --global user.email "actions@gitea.com"
|
git config --global user.email "actions@gitea.com"
|
||||||
git add lib test
|
git add lib/pubspec.yaml
|
||||||
git commit -m "Updated version number"
|
git commit -m "Updated version number"
|
||||||
git push
|
git push
|
||||||
# Alt: git push https://oauth2:${{ secrets.BOT_TOKEN }}@git.yannick-weigert.de/liquid-development/game-tracker.git HEAD:${{ gitea.head_ref }}
|
# Alt: git push https://oauth2:${{ secrets.BOT_TOKEN }}@git.yannick-weigert.de/liquid-development/game-tracker.git HEAD:${{ gitea.head_ref }}
|
||||||
|
|||||||
Reference in New Issue
Block a user