Skip to content

Commit 553fa5d

Browse files
committed
fix: revert back to previous commit
1 parent a76013f commit 553fa5d

File tree

3 files changed

+10
-63
lines changed

3 files changed

+10
-63
lines changed

.github/workflows/update-stable.yml

Lines changed: 2 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -88,53 +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-
env:
126-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128-
NODE_OPTIONS: "--max_old_space_size=4096"
129-
run: |
130-
if [ "$RUNNER_OS" == "Windows" ]; then
131-
pnpm run electron:build:win
132-
elif [ "$RUNNER_OS" == "macOS" ]; then
133-
pnpm run electron:build:mac
134-
else
135-
pnpm run electron:build:linux
136-
fi
137-
13899
- name: Commit and Tag Release
139100
run: |
140101
git pull
@@ -144,20 +105,6 @@ jobs:
144105
git push
145106
git push --tags
146107
147-
- name: Upload Electron Build as Release Assets
148-
uses: softprops/action-gh-release@v2
149-
with:
150-
tag_name: v${{ steps.bump_version.outputs.new_version }}
151-
name: "Electron Release v${{ steps.bump_version.outputs.new_version }}"
152-
files: |
153-
dist/*.exe
154-
dist/*.dmg
155-
dist/*.deb
156-
dist/*.AppImage
157-
dist/*.zip
158-
env:
159-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
160-
161108
- name: Update Stable Branch
162109
run: |
163110
if ! git checkout stable 2>/dev/null; then
@@ -177,4 +124,4 @@ jobs:
177124
gh release create "$VERSION" \
178125
--title "Release $VERSION" \
179126
--notes-file release_notes.md \
180-
--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)