diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index e5091ac..5c041a5 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -113,6 +113,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes' snap: + if: ${{ false }} needs: release runs-on: ubuntu-latest env: diff --git a/docs/build.md b/docs/build.md index e3425fd..3ad81da 100644 --- a/docs/build.md +++ b/docs/build.md @@ -10,6 +10,7 @@ - [Build in Docker](#build-docker) - [X64](#build-docker-x64) - [ARM 32bits](#build-docker-arm32) +- [Build Snap](#build-snap) - [Patch Update Process](#patch-update-process) - [Semi-Automated](#patch-update-process-semiauto) - [Manual](#patch-update-process-manual) @@ -123,6 +124,22 @@ export npm_config_force_process_config="true" . build.sh ``` +## Build Snap + +``` +# for the stable version +cd ./stores/snapcraft/stable + +# for the insider version +cd ./stores/snapcraft/insider + +# create the snap +snapcraft --use-lxd + +# verify the snap +review-tools.snap-review --allow-classic codium*.snap +``` + ## Patch Update Process ## Semi-Automated diff --git a/stores/snapcraft/insider/snap/snapcraft.yaml b/stores/snapcraft/insider/snap/snapcraft.yaml index dbff6f8..5ad5073 100644 --- a/stores/snapcraft/insider/snap/snapcraft.yaml +++ b/stores/snapcraft/insider/snap/snapcraft.yaml @@ -2,7 +2,7 @@ name: codium-insiders adopt-info: codium-insiders summary: Code editing. Redefined. description: | - Binary releases of Code without branding/telemetry/licensing + Binary releases of Code Insiders without branding/telemetry/licensing base: core18 grade: stable