Skip to content

Commit a3778f8

Browse files
committed
chore: removed the step that cause fatal: You are not currently on a branch., pushing the updated pubspec.yaml to a tag branch is not possible
1 parent 56492ed commit a3778f8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/publish.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,6 @@ jobs:
4141
flutter pub publish --dry-run
4242
flutter pub publish --force
4343
44-
- name: Git commit the updated pubspec.yaml
45-
run: |
46-
git config --global user.name "GitHub Actions"
47-
git config --global user.email "[email protected]"
48-
git add pubspec.yaml
49-
if [ -n "$(git status --porcelain)" ]; then
50-
git commit -m "chore: updated the version of pubspec.yaml"
51-
git push
52-
fi
53-
5444
deploy:
5545
needs: publish_pub_dev
5646
uses: ./.github/workflows/deploy.yaml

0 commit comments

Comments
 (0)