mirror of
https://github.com/krille-chan/fluffychat.git
synced 2026-10-16 04:56:46 +02:00
build: fetch release version from pubspec for snapcraft
This commit is contained in:
2 files changed
+4
-4
No files matched your search
+1
-3
@@ -6,9 +6,7 @@
|
||||
name: fluffychat
|
||||
description: Chat with your friends.
|
||||
publish_to: none
|
||||
# On version bump please also increase:
|
||||
# 1. The build number (for F-Droid)
|
||||
# 2. The version in /snap/snapcraft.yaml
|
||||
# On version bump please also increase the build number (for F-Droid)
|
||||
version: 2.10.0+3568
|
||||
|
||||
environment:
|
||||
|
||||
+3
-1
@@ -1,7 +1,7 @@
|
||||
name: fluffychat
|
||||
title: FluffyChat Matrix Messenger
|
||||
base: core24
|
||||
version: 2.10.0
|
||||
adopt-info: fluffychat
|
||||
license: AGPL-3.0
|
||||
summary: The cutest messenger in the Matrix network
|
||||
description: |
|
||||
@@ -85,6 +85,8 @@ parts:
|
||||
plugin: nil
|
||||
source: .
|
||||
override-build: |
|
||||
craftctl set version="$(grep '^version:' pubspec.yaml | cut -d' ' -f2 | cut -d+ -f1)"
|
||||
|
||||
# Install rust manually:
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
Reference in new issue
Block a user