Skip to content

Commit c1474d8

Browse files
committed
Merge branch 'main' into stable
2 parents 3779000 + 553fa5d commit c1474d8

File tree

3 files changed

+10
-60
lines changed

3 files changed

+10
-60
lines changed

.github/workflows/update-stable.yml

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -88,64 +88,14 @@ jobs:
8888
env:
8989
NEW_VERSION: ${{ steps.bump_version.outputs.new_version }}
9090
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91+
9192
run: .github/scripts/generate-changelog.sh
9293

9394
- name: Get the latest commit hash and version tag
9495
run: |
9596
echo "COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV
9697
echo "NEW_VERSION=${{ steps.bump_version.outputs.new_version }}" >> $GITHUB_ENV
9798
98-
# Electron Build Process (added)
99-
- name: Checkout Electron App
100-
uses: actions/checkout@v4
101-
with:
102-
fetch-depth: 0
103-
104-
- name: Setup Node.js and pnpm for Electron
105-
uses: actions/setup-node@v4
106-
with:
107-
node-version: '18'
108-
109-
- name: Install pnpm for Electron
110-
uses: pnpm/action-setup@v2
111-
with:
112-
version: latest
113-
run_install: true
114-
115-
- name: Install Dependencies for Electron
116-
run: pnpm install
117-
118-
- name: Install Linux dependencies for Electron
119-
if: runner.os == 'Linux'
120-
run: |
121-
sudo apt-get update
122-
sudo apt-get install -y rpm
123-
124-
- name: Build Electron app
125-
run: |
126-
if [ "$RUNNER_OS" == "Windows" ]; then
127-
pnpm run electron:build:win
128-
elif [ "$RUNNER_OS" == "macOS" ]; then
129-
pnpm run electron:build:mac
130-
else
131-
pnpm run electron:build:linux
132-
fi
133-
134-
- name: Upload Electron Build as Release Assets
135-
uses: softprops/action-gh-release@v2
136-
with:
137-
tag_name: v${{ steps.bump_version.outputs.new_version }}
138-
name: "Electron Release v${{ steps.bump_version.outputs.new_version }}"
139-
files: |
140-
dist/*.exe
141-
dist/*.dmg
142-
dist/*.deb
143-
dist/*.AppImage
144-
dist/*.zip
145-
env:
146-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
147-
148-
# Commit and Tag Release
14999
- name: Commit and Tag Release
150100
run: |
151101
git pull
@@ -174,4 +124,4 @@ jobs:
174124
gh release create "$VERSION" \
175125
--title "Release $VERSION" \
176126
--notes-file release_notes.md \
177-
--target stable
127+
--target stable

app/components/ui/FileIcon.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export function FileIcon({ filename, size = 'md', className }: FileIconProps) {
3939
}
4040

4141
if (['java', 'class', 'jar'].includes(extension)) {
42-
return 'i-ph:file-code';
42+
return 'i-ph:file-java';
4343
}
4444

4545
if (['php'].includes(extension)) {
46-
return 'i-ph:file-code';
46+
return 'i-ph:file-php';
4747
}
4848

4949
if (['rb', 'ruby'].includes(extension)) {
@@ -63,15 +63,15 @@ export function FileIcon({ filename, size = 'md', className }: FileIconProps) {
6363
}
6464

6565
if (['swift'].includes(extension)) {
66-
return 'i-ph:file-code';
66+
return 'i-ph:file-swift';
6767
}
6868

6969
if (['kt', 'kotlin'].includes(extension)) {
70-
return 'i-ph:file-code';
70+
return 'i-ph:file-kotlin';
7171
}
7272

7373
if (['dart'].includes(extension)) {
74-
return 'i-ph:file-code';
74+
return 'i-ph:file-dart';
7575
}
7676

7777
// Config files
@@ -80,7 +80,7 @@ export function FileIcon({ filename, size = 'md', className }: FileIconProps) {
8080
}
8181

8282
if (['xml', 'svg'].includes(extension)) {
83-
return 'i-ph:file-code';
83+
return 'i-ph:file-xml';
8484
}
8585

8686
if (['toml'].includes(extension)) {
@@ -157,7 +157,7 @@ export function FileIcon({ filename, size = 'md', className }: FileIconProps) {
157157
}
158158

159159
if (filename.startsWith('Dockerfile')) {
160-
return 'i-ph:file-code';
160+
return 'i-ph:docker-logo';
161161
}
162162

163163
// Default

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ A huge thank you to our amazing new contributors! Your first contribution marks
6969

7070
## 📈 Stats
7171

72-
**Full Changelog**: [`v0.0.6..v0.0.7`](https://github.com/stackblitz-labs/bolt.diy/compare/v0.0.6...v0.0.7)
72+
**Full Changelog**: [`v0.0.6..v0.0.7`](https://github.com/stackblitz-labs/bolt.diy/compare/v0.0.6...v0.0.7)

0 commit comments

Comments
 (0)