Skip to content

Commit 3a5c021

Browse files
committed
release 1.5.0
1 parent 0db1977 commit 3a5c021

File tree

4 files changed

+64
-3
lines changed

4 files changed

+64
-3
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Linux Release Build
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
- '[0-9]+.[0-9]+.[0-9]+'
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: write
12+
13+
jobs:
14+
build-linux:
15+
name: Build Linux Packages
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '20'
26+
cache: 'npm'
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
31+
- name: Build application
32+
run: npm run build
33+
34+
- name: Build Linux packages
35+
run: npm run electron:build
36+
37+
- name: List built artifacts
38+
run: |
39+
echo "Contents of dist directory:"
40+
ls -lh dist/EasyEdit-* || echo "No artifacts found"
41+
42+
- name: Upload artifacts to release
43+
uses: softprops/action-gh-release@v2
44+
if: startsWith(github.ref, 'refs/tags/')
45+
with:
46+
files: |
47+
dist/EasyEdit-*.zip
48+
dist/EasyEdit-*.AppImage
49+
fail_on_unmatched_files: false
50+
generate_release_notes: true
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
54+
- name: Upload build artifacts for debugging
55+
uses: actions/upload-artifact@v4
56+
with:
57+
name: linux-packages
58+
path: |
59+
dist/EasyEdit-*.zip
60+
dist/EasyEdit-*.AppImage
61+
retention-days: 30

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "easyedit",
33
"description": "EasyEdit - A simple Markdown editor",
4-
"version": "1.4.6",
4+
"version": "1.5.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

release/latest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "1.4.6"
2+
"version": "1.5.0"
33
}

0 commit comments

Comments
 (0)