Merge pull request 'Push Pipeline Error' (#181) from hotfix/push-pipeline-error into development
Reviewed-on: #181 Reviewed-by: gelbeinhalb <spam@yannick-weigert.de>
This commit was merged in pull request #181.
This commit is contained in:
@@ -52,8 +52,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git fetch origin ${{ gitea.head_ref }}
|
git fetch origin ${{ gitea.ref_name }}
|
||||||
git checkout ${{ gitea.head_ref }}
|
git checkout ${{ gitea.ref_name }}
|
||||||
|
|
||||||
dart fix --apply lib
|
dart fix --apply lib
|
||||||
dart fix --apply test
|
dart fix --apply test
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
git config --global user.email "actions@yannick-weigert.de"
|
git config --global user.email "actions@yannick-weigert.de"
|
||||||
git add lib test
|
git add lib test
|
||||||
git commit -m "Auto-format code [skip ci]"
|
git commit -m "Auto-format code [skip ci]"
|
||||||
git push origin HEAD:${{ gitea.head_ref }}
|
git push origin HEAD:${{ gitea.ref_name }}
|
||||||
else
|
else
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
fi
|
fi
|
||||||
@@ -73,7 +73,7 @@ jobs:
|
|||||||
|
|
||||||
update_version:
|
update_version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: Format
|
needs: format
|
||||||
if: gitea.ref == 'refs/heads/development'
|
if: gitea.ref == 'refs/heads/development'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
ref: ${{ gitea.head_ref }}
|
ref: ${{ gitea.ref_name }}
|
||||||
|
|
||||||
- name: Increment version number
|
- name: Increment version number
|
||||||
uses: https://github.com/stikkyapp/update-pubspec-version@v2
|
uses: https://github.com/stikkyapp/update-pubspec-version@v2
|
||||||
@@ -98,4 +98,4 @@ jobs:
|
|||||||
git config --global user.email "actions@yannick-weigert.de"
|
git config --global user.email "actions@yannick-weigert.de"
|
||||||
git add pubspec.yaml
|
git add pubspec.yaml
|
||||||
git commit -m "Updated version number [skip ci]"
|
git commit -m "Updated version number [skip ci]"
|
||||||
git push origin HEAD:${{ gitea.head_ref }}
|
git push origin HEAD:${{ gitea.ref_name }}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
name: game_tracker
|
name: game_tracker
|
||||||
description: "Game Tracking App for Card Games"
|
description: "Game Tracking App for Card Games"
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
version: 0.0.10+237
|
version: 0.0.10+238
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.8.1
|
sdk: ^3.8.1
|
||||||
|
|||||||
Reference in New Issue
Block a user