소스 검색

fix(snap): disable until classic confinement unsealed [skip ci]

Baptiste Augrain 2 년 전
부모
커밋
1e3c695701
3개의 변경된 파일19개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      .github/workflows/insider-linux.yml
  2. 17 0
      docs/build.md
  3. 1 1
      stores/snapcraft/insider/snap/snapcraft.yaml

+ 1 - 0
.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:

+ 17 - 0
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
 ```
 
+## <a id="build-snap"></a>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
+```
+
 ## <a id="patch-update-process"></a>Patch Update Process
 
 ## <a id="patch-update-process-semiauto"></a>Semi-Automated

+ 1 - 1
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