Skip to content

Commit 8959aec

Browse files
author
Akos Kitta
committed
fix: added clone step +update build step on Linux
1 parent 1a34e50 commit 8959aec

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

docs/internal/release-procedure.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ Creating the release for Ubuntu 18.04 ([arduino/arduino-ide#2018](https://github
186186
- Your account must have access to the staging AWS environment.
187187
- You have VPN connection to staging.
188188
- Setup:
189+
189190
- To install all required dependencies, run the following script:
190191
```sh
191192
sudo apt update \
@@ -209,14 +210,22 @@ Creating the release for Ubuntu 18.04 ([arduino/arduino-ide#2018](https://github
209210
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \
210211
&& sudo apt update && sudo apt install --no-install-recommends yarn
211212
```
212-
- Set the environment variables to mimic a CI build:
213-
```sh
214-
export IS_RELEASE=true && export CI=true
215-
```
213+
214+
- Clone:
215+
216+
```sh
217+
BRANCH="<TODO: release branch name>"
218+
git clone --single-branch --branch $BRANCH https://github.com/arduino/arduino-ide.git
219+
```
220+
216221
- Build:
222+
217223
```sh
218-
yarn --cwd ./electron/packager && yarn --cwd ./electron/packager package
224+
export IS_RELEASE=true \
225+
&& export CI=true \
226+
&& ./scripts/package.sh
219227
```
228+
220229
- Artifacts:
221230
- You have to upload the following artifacts from `./arduino-ide/electron-app/dist` to S3:
222231
- `arduino-ide_${VERSION}_Linux_64bit.AppImage`,

0 commit comments

Comments
 (0)