chore: Publish snap from CI

This commit is contained in:
Krille Fear 2021-11-16 08:27:53 +01:00
parent e888afa4c6
commit 5433329b5c
3 changed files with 88 additions and 19 deletions

View File

@ -223,6 +223,12 @@ upload-android:
- | - |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/android/app-release.apk ${PACKAGE_REGISTRY_URL}/fluffychat.apk curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/android/app-release.apk ${PACKAGE_REGISTRY_URL}/fluffychat.apk
snap_stable:
extends: .release
image: cibuilds/snapcraft:core18
script: [./scripts/publish-snap-stable.sh]
needs: [build_linux_x86]
upload-web: upload-web:
extends: .release extends: .release
script: script:

View File

@ -1,6 +1,5 @@
#!/bin/sh -ve #!/bin/sh -ve
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login echo $SNAPCRAFT_LOGIN_FILE | snapcraft login --with -
snapcraft login --with snapcraft.login
snapcraft snapcraft
snapcraft upload --release=stable *.snap snapcraft upload --release=stable *.snap
snapcraft logout snapcraft logout

View File

@ -1,20 +1,39 @@
name: fluffychat name: fluffychat
base: core18 base: core18
version: git adopt-info: version
summary: The cutest messenger in the Matrix network summary: The cutest messenger in the Matrix network
description: | description: |
FluffyChat - Chat with your friends FluffyChat is an open source, nonprofit and cute matrix messenger app. The app is easy to use but secure and decentralized.
The greatest FluffyChat features:
1. Opensource and open development where everyone can join. ## Features
2. Nonprofit - FluffyChat is donation funded.
3. Cute design and many theme settings including a dark mode. - Send all kinds of messages, images and files
4. Unlimited groups and direct chats. - Voice messages
5. FluffyChat is made as simple to use as possible. - Location sharing
6. Free to use for everyone without ads. - Push notifications
7. There is no "FluffyChat server" you are forced to use. Use the server - Unlimited private and public group chats
you find trustworthy or host your own. - Public channels with thousands of participants
8. Compatible with Element, Fractal, Nheko and all matrix messengers. - Feature rich group moderation including all matrix features
- Discover and join public groups
- Dark mode
- Hides complexity of Matrix IDs behind simple QR codes
- Custom emotes and stickers
- Video calls via sharing links to Jitsi
- Spaces
- Compatible with Element, Nheko, NeoChat and all other Matrix apps
- End to end encryption
- Emoji verification & cross signing
- And much more...
## FluffyChat comes with a dream
Imagine a world where everyone can choose the messenger they like and is still able to chat with all of their friends.
A world where there are no companies spying on you when you send selfies to friends and lovers.
And a world where apps are made for fluffyness and not for profit. ♥
Join the community: https://matrix.to/#/#fluffychat:matrix.org Join the community: https://matrix.to/#/#fluffychat:matrix.org
Website: http://fluffychat.im Website: http://fluffychat.im
@ -34,15 +53,29 @@ parts:
source-tag: 3.2.3 source-tag: 3.2.3
build-packages: build-packages:
- g++ - g++
version:
plugin: dump
source: .
override-build: |
snapcraftctl set-version $(git describe --always --tag)
fluffychat: fluffychat:
plugin: dump plugin: dump
source: ./build/linux/x64/release/bundle/ source: ./build/linux/x64/release/bundle/
build-packages: build-packages:
- libsecret-1-dev - libsecret-1-dev
- libjsoncpp-dev - libjsoncpp-dev
stage-packages: stage-packages:
- libsecret-1-dev - libsecret-1-dev
- libjsoncpp-dev - libjsoncpp-dev
gnome-3-28-extension:
build-packages:
- gcc
- libgtk-3-dev
make-parameters:
- PLATFORM_PLUG=gnome-3-28-1804
plugin: make
source: $SNAPCRAFT_EXTENSIONS_DIR/desktop
source-subdir: gnome
slots: slots:
dbus-svc: dbus-svc:
@ -52,10 +85,41 @@ slots:
apps: apps:
fluffychat: fluffychat:
extensions: [flutter-stable]
command: fluffychat command: fluffychat
plugs: plugs:
- desktop
- desktop-legacy
- gsettings
- opengl
- wayland
- x11
- network - network
- home - home
slots: slots:
- dbus-svc - dbus-svc
command-chain:
- snap/command-chain/desktop-launch
assumes:
- snapd2.43
plugs:
gnome-3-28-1804:
default-provider: gnome-3-28-1804
interface: content
target: $SNAP/gnome-platform
gtk-3-themes:
default-provider: gtk-common-themes
interface: content
target: $SNAP/data-dir/themes
icon-themes:
default-provider: gtk-common-themes
interface: content
target: $SNAP/data-dir/icons
sound-themes:
default-provider: gtk-common-themes
interface: content
target: $SNAP/data-dir/sounds
environment:
SNAP_DESKTOP_RUNTIME: $SNAP/gnome-platform
layout:
/usr/share/xml/iso-codes:
bind: $SNAP/gnome-platform/usr/share/xml/iso-codes