When you have multiple snapshot builds on your computer for testing purposes, it's difficult to keep track of which is which. The commit hash is shown by the running application, but it's more convenient to have the installation also identified by its folder name.
Adding the short commit hash to the build archive filename (and thus the extracted folder name) provides a clear identifier for each build.
Before this change, the archive is named like:
arduino-pro-ide_snapshot_Linux_64bit.zip
after:
arduino-pro-ide_0.0.7-snapshot.1b8c510_Linux_64bit.zip
- [macOS] Removed `zip` target. We need it later for the auto-update.
- [CI]: From now on, the release tag must not start with `v`.
- [yarn]: Added steps on how to rebuild the natives from the source.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
- Split up the pipeline to build, publish, and release.
- Set a 30 minutes build timeout, to avoid macOS signing issues.
- Removed global envs. `env` cannot be accessed for `if` in jobs.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
- Support for multiple electron targe per platform.
- Removed packager CLI. Changed the logic we calculate the app name.
- Fixed various OS-specific tests: stubbed `os`.
- Restructured the final ZIP formats for Windows and Linux.
- Added packager tests.
- Switched from `@grpc/grpc-js` to native `grpc`.
- Updated the version from 0.0.5 to 0.0.6.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This change is a NOOP for the electron application started in dev mode.
Closesarduino/arduino-pro-ide#187
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
- We have to reuse the `yarn.lock` file for the final app, not just
for the extensions.
- Simplified the clean-up phase.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
```
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.2.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "D:\\a\\1\\s\\yarn-error.log".
```
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
- Switched from `grpc` to `@grpc/grpc-js`.
- Use electron `4.x` due to `@grpc/grpc-js`.
- Enabled the build on Azure Pipelines.
- From now on, the TS/JS generation is manual.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>