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
snap_stable:
extends: .release
image: cibuilds/snapcraft:core18
script: [./scripts/publish-snap-stable.sh]
needs: [build_linux_x86]
upload-web:
extends: .release
script:

View File

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

View File

@ -1,20 +1,39 @@
name: fluffychat
base: core18
version: git
adopt-info: version
summary: The cutest messenger in the Matrix network
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.
2. Nonprofit - FluffyChat is donation funded.
3. Cute design and many theme settings including a dark mode.
4. Unlimited groups and direct chats.
5. FluffyChat is made as simple to use as possible.
6. Free to use for everyone without ads.
7. There is no "FluffyChat server" you are forced to use. Use the server
you find trustworthy or host your own.
8. Compatible with Element, Fractal, Nheko and all matrix messengers.
## Features
- Send all kinds of messages, images and files
- Voice messages
- Location sharing
- Push notifications
- Unlimited private and public group chats
- Public channels with thousands of participants
- 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
Website: http://fluffychat.im
@ -34,15 +53,29 @@ parts:
source-tag: 3.2.3
build-packages:
- g++
version:
plugin: dump
source: .
override-build: |
snapcraftctl set-version $(git describe --always --tag)
fluffychat:
plugin: dump
source: ./build/linux/x64/release/bundle/
build-packages:
- libsecret-1-dev
- libjsoncpp-dev
- libsecret-1-dev
- libjsoncpp-dev
stage-packages:
- libsecret-1-dev
- libjsoncpp-dev
- libsecret-1-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:
dbus-svc:
@ -52,10 +85,41 @@ slots:
apps:
fluffychat:
extensions: [flutter-stable]
command: fluffychat
plugs:
- desktop
- desktop-legacy
- gsettings
- opengl
- wayland
- x11
- network
- home
slots:
- 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