Skip to content
This repository was archived by the owner on Jan 1, 2026. It is now read-only.

Commit b05b54e

Browse files
committed
fix: accidentally change the wrong file
1 parent 1d9fc68 commit b05b54e

2 files changed

Lines changed: 38 additions & 90 deletions

File tree

.releaserc

Lines changed: 37 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,41 @@
11
{
2-
"build": {
3-
"appId": "com.andrinoff.floatplane",
4-
"productName": "Floatplane",
5-
"directories": {
6-
"output": "dist-electron"
7-
},
8-
"compression": "maximum",
9-
"mac": {
10-
"target": {
11-
"target": "dmg",
12-
"arch": [
13-
"arm64",
14-
"x64"
2+
"branches": [
3+
"master"
4+
],
5+
"plugins": [
6+
"@semantic-release/commit-analyzer",
7+
"@semantic-release/release-notes-generator",
8+
"@semantic-release/changelog",
9+
[
10+
"@semantic-release/exec",
11+
{
12+
"prepareCmd": "npm version ${nextRelease.version} --no-git-tag-version && npm run pack"
13+
}
14+
],
15+
[
16+
"@semantic-release/github",
17+
{
18+
"assets": [
19+
{
20+
"path": "dist-electron/*-arm64.dmg",
21+
"label": "macOS Installer (Apple Silicon)"
22+
},
23+
{
24+
"path": "dist-electron/*-.dmg",
25+
"label": "macOS Installer (Intel)"
26+
}
1527
]
16-
},
17-
"artifactName": "${productName}-${version}-${arch}.${ext}",
18-
"icon": "icon.icns",
19-
"category": "public.app-category.utilities"
20-
},
21-
"dmg": {
22-
"window": {
23-
"width": 540,
24-
"height": 380
25-
},
26-
"contents": [
27-
{
28-
"x": 130,
29-
"y": 186,
30-
"type": "file"
31-
},
32-
{
33-
"x": 410,
34-
"y": 186,
35-
"type": "link",
36-
"path": "/Applications"
37-
}
38-
]
39-
},
40-
"files": [
41-
"dist/**/*",
42-
"main.js",
43-
"preload.js",
44-
"package.json",
45-
"!**/node_modules/**/*",
46-
"!src/**/*",
47-
"!webpack.config.js",
48-
"!*.md"
28+
}
4929
],
50-
"asar": true,
51-
"asarUnpack": []
52-
}
30+
[
31+
"@semantic-release/git",
32+
{
33+
"assets": [
34+
"CHANGELOG.md",
35+
"package.json"
36+
],
37+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
38+
}
39+
]
40+
]
5341
}

package.json

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,4 @@
11
{
2-
"name": "floatplane",
3-
"version": "1.2.1",
4-
"description": "A wallpaper manager app for macOS.",
5-
"main": "main.js",
6-
"scripts": {
7-
"start": "electron .",
8-
"build": "webpack --mode production",
9-
"watch": "webpack --mode development --watch",
10-
"pack": "npm run build && electron-builder --mac",
11-
"dist": "npm run build && electron-builder --mac --publish=never",
12-
"clean": "rm -rf dist node_modules package-lock.json && npm install"
13-
},
14-
"keywords": [
15-
"wallpaper",
16-
"macOS",
17-
"desktop"
18-
],
19-
"author": "andrinoff",
20-
"license": "MIT",
21-
"dependencies": {
22-
"@semantic-release/changelog": "^6.0.3",
23-
"@semantic-release/commit-analyzer": "^13.0.1",
24-
"@semantic-release/exec": "^7.1.0",
25-
"@semantic-release/git": "^10.0.1",
26-
"@semantic-release/github": "^11.0.3",
27-
"@semantic-release/release-notes-generator": "^14.0.3",
28-
"react": "^18.2.0",
29-
"react-dom": "^18.2.0"
30-
},
31-
"devDependencies": {
32-
"@babel/core": "^7.23.7",
33-
"@babel/preset-react": "^7.23.3",
34-
"babel-loader": "^10.0.0",
35-
"css-loader": "^7.0.0",
36-
"electron": "^37.0.0",
37-
"electron-builder": "^26.0.0",
38-
"html-webpack-plugin": "^5.6.0",
39-
"style-loader": "^3.3.4",
40-
"webpack": "^5.89.0",
41-
"webpack-cli": "^5.1.4"
42-
},
432
"build": {
443
"appId": "com.andrinoff.floatplane",
454
"productName": "Floatplane",
@@ -55,6 +14,7 @@
5514
"x64"
5615
]
5716
},
17+
"artifactName": "${productName}-${version}-${arch}.${ext}",
5818
"icon": "icon.icns",
5919
"category": "public.app-category.utilities"
6020
},

0 commit comments

Comments
 (0)