File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 11[package ]
22name = " workany"
3- version = " 0.1.7 "
3+ version = " 0.1.8 "
44description = " A Tauri App"
55authors = [" you" ]
66edition = " 2021"
Original file line number Diff line number Diff line change 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" ,
3939 },
4040 "resources" : []
4141 }
42- }
42+ }
You can’t perform that action at this time.
0 commit comments