Skip to content

feat(release): document manual release procedure #2129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
fix: added clone step +update build step on Linux
  • Loading branch information
Akos Kitta committed Aug 25, 2023
commit 8959aec387b996edd37d7de58430e8ba87652a3a
19 changes: 14 additions & 5 deletions docs/internal/release-procedure.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ Creating the release for Ubuntu 18.04 ([arduino/arduino-ide#2018](https://github
- Your account must have access to the staging AWS environment.
- You have VPN connection to staging.
- Setup:

- To install all required dependencies, run the following script:
```sh
sudo apt update \
Expand All @@ -209,14 +210,22 @@ Creating the release for Ubuntu 18.04 ([arduino/arduino-ide#2018](https://github
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \
&& sudo apt update && sudo apt install --no-install-recommends yarn
```
- Set the environment variables to mimic a CI build:
```sh
export IS_RELEASE=true && export CI=true
```

- Clone:

```sh
BRANCH="<TODO: release branch name>"
git clone --single-branch --branch $BRANCH https://github.com/arduino/arduino-ide.git
```

- Build:

```sh
yarn --cwd ./electron/packager && yarn --cwd ./electron/packager package
export IS_RELEASE=true \
&& export CI=true \
&& ./scripts/package.sh
```

- Artifacts:
- You have to upload the following artifacts from `./arduino-ide/electron-app/dist` to S3:
- `arduino-ide_${VERSION}_Linux_64bit.AppImage`,
Expand Down