From 83575f825ecc27d52655ad04060d9bb66bea0b2d Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Wed, 30 Mar 2022 14:03:03 +0200 Subject: [PATCH] Change version to follow scheme used by GNOME --- Cargo.lock | 2 +- Cargo.toml | 2 +- meson.build | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a0128d8c..e83ce0fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1003,7 +1003,7 @@ dependencies = [ [[package]] name = "fractal" -version = "0.0.1" +version = "5.0.0-alpha" dependencies = [ "ashpd", "async-stream", diff --git a/Cargo.toml b/Cargo.toml index db341abc..6a0f28bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fractal" -version = "0.0.1" +version = "5.0.0-alpha" authors = ["Julian Sparber "] edition = "2018" diff --git a/meson.build b/meson.build index 05584122..1bcaaeac 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('fractal', 'rust', - version: '0.0.1', + version: '5.alpha', license: 'GPL-3.0-or-later', meson_version: '>= 0.59') @@ -36,10 +36,6 @@ appstream_util = find_program('appstream-util', required: false) cargo = find_program('cargo', required: true) version = meson.project_version() -version_array = version.split('.') -major_version = version_array[0].to_int() -minor_version = version_array[1].to_int() -version_micro = version_array[2].to_int() prefix = get_option('prefix') bindir = prefix / get_option('bindir')