Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
Pinned the Theia versions.
Browse files Browse the repository at this point in the history
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
  • Loading branch information
kittaakos committed Nov 10, 2017
1 parent 0706565 commit 00bc1a2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ Bundled Yangster electron application
```bash
git clone https://github.com/theia-ide/yangster-electron.git \
&& cd yangster-electron \
&& yarn
&& yarn \
&& yarn package
```

The bundled applications will be available under the `dist` folder.

### Publishing a new release
- Go to the [`releases`](https://github.com/theia-ide/yangster-electron/releases) page and select the `Draft a new release` button.
- Set the desired version and select the target branch. The version should match the `v\d+\.\d+\.\d+` patten. For instance, `2.12.4`. By default, the target branch is `master`, which is fine for our use-case.
- Set the desired version and select the target branch. The version should match the `v\d+\.\d+\.\d+` patten. For instance, `v2.12.4`. By default, the target branch is `master`, which is fine for our use-case.
- Select `Save draft`.
- Update the product version in the `package.json`. The new version should match with the previously configured version of the draft release. Note, the leading `v` should be omitted from the version in the `package.json`.
- Commit your changes and push to the remote.
Expand All @@ -29,8 +32,6 @@ git clone https://github.com/theia-ide/yangster-electron.git \
- Here, you can make some additional changes. You can remove exisiting artifacts or even upload additional ones manually. When you are ready, select `Publish release`.
- :sparkles:

The bundled applications will be available under the `dist` folder.

### Troubleshooting

[_"Don't expect that you can build app for all platforms on one platform."_](https://www.electron.build/multi-platform-build)
Expand Down
2 changes: 1 addition & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ linux:
- AppImage
category: Development
icon: resources/icons
executableName: yangster

nsis:
menuCategory: true
Expand All @@ -35,6 +34,7 @@ nsis:
uninstallerSidebar: resources/installerSidebar.bmp
allowToChangeInstallationDirectory: true
runAfterFinish: false
artifactName: ${productName}-Installer-${version}.${ext}
dmg:
background: resources/dmgInstaller.tiff
icon: resources/icon.icns
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yangster-electron",
"version": "0.0.1",
"version": "0.0.2",
"description": "Yangster Electron",
"main": "src-gen/frontend/electron-main.js",
"repository": {
Expand All @@ -23,24 +23,24 @@
},
"homepage": "https://github.com/theia-ide/yangster-electron#readme",
"dependencies": {
"@theia/core": "next",
"@theia/editor": "next",
"@theia/filesystem": "next",
"@theia/file-search": "next",
"@theia/git": "next",
"@theia/languages": "next",
"@theia/markers": "next",
"@theia/monaco": "next",
"@theia/navigator": "next",
"@theia/preferences": "next",
"@theia/process": "next",
"@theia/terminal": "next",
"@theia/workspace": "next",
"@theia/core": "0.2.1",
"@theia/editor": "0.2.1",
"@theia/filesystem": "0.2.1",
"@theia/file-search": "0.2.1",
"@theia/git": "0.2.1",
"@theia/languages": "0.2.1",
"@theia/markers": "0.2.1",
"@theia/monaco": "0.2.1",
"@theia/navigator": "0.2.1",
"@theia/preferences": "0.2.1",
"@theia/process": "0.2.1",
"@theia/terminal": "0.2.1",
"@theia/workspace": "0.2.1",
"theia-yang-extension": "0.1.2",
"xterm": "^2.9.2"
},
"devDependencies": {
"@theia/cli": "next",
"@theia/cli": "0.2.1",
"electron-builder": "^19.30.2"
}
}

0 comments on commit 00bc1a2

Please sign in to comment.