6 Commits

Author SHA1 Message Date
b14b7733ca Merge pull request 'Push Pipeline Error' (#181) from hotfix/push-pipeline-error into development
All checks were successful
Push Pipeline / test (push) Successful in 2m7s
Push Pipeline / format (push) Successful in 2m8s
Push Pipeline / update_version (push) Successful in 5s
Reviewed-on: #181
Reviewed-by: gelbeinhalb <spam@yannick-weigert.de>
2026-01-20 14:52:47 +00:00
bc51b23563 Updated ref names
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 2m13s
Pull Request Pipeline / test (pull_request) Successful in 2m22s
2026-01-20 12:03:31 +01:00
057f8c1d58 Changed workflow back to prod mode 2026-01-20 12:00:33 +01:00
4c1c22123e Updated version number [skip ci] 2026-01-20 10:59:27 +00:00
e9929426e0 Removed development restriction
All checks were successful
Push Pipeline / test (push) Successful in 1m57s
Push Pipeline / update_version (push) Successful in 6s
Push Pipeline / format (push) Successful in 2m6s
2026-01-20 11:57:17 +01:00
eb404f3ef2 Fixed push pipeline
All checks were successful
Push Pipeline / test (push) Successful in 1m57s
Push Pipeline / update_version (push) Has been skipped
Push Pipeline / format (push) Successful in 2m17s
2026-01-20 11:54:15 +01:00
2 changed files with 7 additions and 7 deletions

View File

@@ -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 }}

View File

@@ -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