Skip to content

Commit cedac17

Browse files
committed
fix(mobile): reset loading state on master password screen mount
1 parent 09b7493 commit cedac17

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -69,50 +69,8 @@ jobs:
6969
- name: Build
7070
run: pnpm build
7171

72-
- name: Check for mobile-only commits
73-
id: check_commits
74-
run: |
75-
# Get commits since last tag
76-
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
77-
if [ -z "$LAST_TAG" ]; then
78-
COMMITS=$(git log --pretty=format:"%s")
79-
else
80-
COMMITS=$(git log ${LAST_TAG}..HEAD --pretty=format:"%s")
81-
fi
82-
83-
echo "Commits since last tag:"
84-
echo "$COMMITS"
85-
86-
# Count mobile commits
87-
HAS_MOBILE=$(echo "$COMMITS" | grep -E '\(mobile\)' | wc -l || echo "0")
88-
89-
# Count non-mobile commits (excluding [skip ci] and chore(release) commits)
90-
HAS_NON_MOBILE=$(echo "$COMMITS" | grep -v -E '\(mobile\)' | grep -v -E '\[skip ci\]' | grep -v -E '^chore\(release\):' | grep -v -E '^chore\(mobile\):' | grep -E '.' | wc -l || echo "0")
91-
92-
echo "Mobile commits: $HAS_MOBILE"
93-
echo "Non-mobile commits: $HAS_NON_MOBILE"
94-
95-
if [ "$HAS_MOBILE" -gt 0 ] && [ "$HAS_NON_MOBILE" -eq 0 ]; then
96-
echo "skip_release=true" >> $GITHUB_OUTPUT
97-
echo "✅ Mobile-only commits detected, skipping semantic-release"
98-
else
99-
echo "skip_release=false" >> $GITHUB_OUTPUT
100-
echo "✅ Non-mobile commits detected, running semantic-release"
101-
fi
102-
103-
- name: Bump mobile version only
104-
if: steps.check_commits.outputs.skip_release == 'true'
105-
run: |
106-
node scripts/update-mobile-version.js
107-
git config user.name "github-actions[bot]"
108-
git config user.email "github-actions[bot]@users.noreply.github.com"
109-
git add apps/mobile/v1/package.json apps/mobile/v1/app.json apps/mobile/v1/src/constants/version.ts
110-
git diff --staged --quiet || git commit -m "chore(mobile): bump mobile app version [skip ci]"
111-
git push
112-
11372
- name: Release
11473
id: semantic
115-
if: steps.check_commits.outputs.skip_release != 'true'
11674
env:
11775
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11876
run: npx semantic-release

0 commit comments

Comments
 (0)