diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-08-17 09:03:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 09:03:17 +0200 |
commit | 829c3e2dfc9e7d2f042241bfe7e22abd29d9e915 (patch) | |
tree | 0f6e0bc513092a2175e98d78ddb37b82a8956d3c | |
parent | refactor: pull in code-cleanup changes in the recipes submodule. (diff) | |
download | ferdium-app-829c3e2dfc9e7d2f042241bfe7e22abd29d9e915.tar.gz ferdium-app-829c3e2dfc9e7d2f042241bfe7e22abd29d9e915.tar.zst ferdium-app-829c3e2dfc9e7d2f042241bfe7e22abd29d9e915.zip |
build: fix snap release to snapstore only (#1809)
-rw-r--r-- | .github/workflows/ferdi-builds.yml | 6 | ||||
-rw-r--r-- | electron-builder.yml | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index 42c3b6e30..7a701758e 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml | |||
@@ -262,7 +262,7 @@ jobs: | |||
262 | run: | | 262 | run: | |
263 | sudo snap install snapcraft --classic | 263 | sudo snap install snapcraft --classic |
264 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 264 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
265 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=nightlies -c.snap.publish.repo=nightlies -c.snap.publish.releaseType=prerelease -c.snap.publish.channels=edge | 265 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=nightlies -c.snap.publish.provider=snapStore -c.snap.publish.repo=nightlies -c.snap.publish.channels=edge |
266 | snapcraft logout | 266 | snapcraft logout |
267 | shell: bash | 267 | shell: bash |
268 | - name: Build Ferdi with publish for 'release' beta branch | 268 | - name: Build Ferdi with publish for 'release' beta branch |
@@ -274,7 +274,7 @@ jobs: | |||
274 | run: | | 274 | run: | |
275 | sudo snap install snapcraft --classic | 275 | sudo snap install snapcraft --classic |
276 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 276 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
277 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdi -c.snap.publish.repo=ferdi -c.snap.publish.releaseType=prerelease -c.snap.publish.channels=beta | 277 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdi -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdi -c.snap.publish.channels=beta |
278 | snapcraft logout | 278 | snapcraft logout |
279 | shell: bash | 279 | shell: bash |
280 | - name: Build Ferdi with publish for 'release' stable branch | 280 | - name: Build Ferdi with publish for 'release' stable branch |
@@ -286,7 +286,7 @@ jobs: | |||
286 | run: | | 286 | run: | |
287 | sudo snap install snapcraft --classic | 287 | sudo snap install snapcraft --classic |
288 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 288 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
289 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdi -c.snap.publish.repo=ferdi -c.snap.publish.releaseType=release -c.snap.publish.channels=stable | 289 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdi -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdi -c.snap.publish.channels=stable |
290 | snapcraft logout | 290 | snapcraft logout |
291 | shell: bash | 291 | shell: bash |
292 | 292 | ||
diff --git a/electron-builder.yml b/electron-builder.yml index e8cb0f4f5..893fa4701 100644 --- a/electron-builder.yml +++ b/electron-builder.yml | |||
@@ -61,11 +61,6 @@ linux: | |||
61 | - target: freebsd | 61 | - target: freebsd |
62 | - target: snap | 62 | - target: snap |
63 | 63 | ||
64 | snap: | ||
65 | publish: | ||
66 | - snapStore | ||
67 | - github | ||
68 | |||
69 | nsis: | 64 | nsis: |
70 | perMachine: false | 65 | perMachine: false |
71 | oneClick: true | 66 | oneClick: true |