Push Pipeline Error #181

Merged
flixcoo merged 5 commits from hotfix/push-pipeline-error into development 2026-01-20 14:52:47 +00: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