Skip to content

Commit 1a1fb21

Browse files
committed
update app bundle
1 parent a8e80fa commit 1a1fb21

5 files changed

Lines changed: 19 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
if: steps.check.outputs.skip != 'true' && matrix.platform == 'linux'
8787
run: |
8888
sudo apt-get update
89-
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
89+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libfuse2 file
9090
9191
- name: Setup Node.js
9292
if: steps.check.outputs.skip != 'true'
@@ -203,7 +203,8 @@ jobs:
203203
release:
204204
needs: build
205205
runs-on: ubuntu-latest
206-
if: startsWith(github.ref, 'refs/tags/v') || github.event.inputs.release == 'true'
206+
# Auto release on: push to main, push tag, or manual trigger with release=true
207+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || github.event.inputs.release == 'true'
207208

208209
permissions:
209210
contents: write
@@ -217,11 +218,22 @@ jobs:
217218
- name: Display structure of downloaded files
218219
run: ls -R artifacts
219220

221+
- name: Checkout for version
222+
uses: actions/checkout@v4
223+
224+
- name: Get version from package.json
225+
id: version
226+
run: |
227+
VERSION=$(node -p "require('./package.json').version")
228+
echo "version=$VERSION" >> $GITHUB_OUTPUT
229+
220230
- name: Create Release
221231
uses: softprops/action-gh-release@v2
222232
with:
223233
draft: true
224234
generate_release_notes: true
235+
tag_name: v${{ steps.version.outputs.version }}
236+
name: WorkAny v${{ steps.version.outputs.version }}
225237
files: |
226238
artifacts/**/*.deb
227239
artifacts/**/*.rpm

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "workany",
33
"private": true,
4-
"version": "0.1.7",
4+
"version": "0.1.8",
55
"type": "module",
66
"scripts": {
77
"ver": "./scripts/version.sh",

src-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "workany-api",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"type": "module",
55
"scripts": {
66
"dev": "node --import tsx --watch src/index.ts",

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "workany"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
description = "A Tauri App"
55
authors = ["you"]
66
edition = "2021"

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "WorkAny",
4-
"version": "0.1.7",
4+
"version": "0.1.8",
55
"identifier": "ai.thinkany.workany",
66
"build": {
77
"beforeDevCommand": "pnpm dev",
@@ -39,4 +39,4 @@
3939
},
4040
"resources": []
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)