|
1 | 1 | /********************************************************************
|
2 |
| -* Copyright (C) 2015-2017 Antoine Aflalo |
3 |
| -* |
4 |
| -* This program is free software; you can redistribute it and/or |
5 |
| -* modify it under the terms of the GNU General Public License |
6 |
| -* as published by the Free Software Foundation; either version 2 |
7 |
| -* of the License, or (at your option) any later version. |
8 |
| -* |
9 |
| -* This program is distributed in the hope that it will be useful, |
10 |
| -* but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 |
| -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 |
| -* GNU General Public License for more details. |
13 |
| -********************************************************************/ |
| 2 | + * Copyright (C) 2015-2017 Antoine Aflalo |
| 3 | + * |
| 4 | + * This program is free software; you can redistribute it and/or |
| 5 | + * modify it under the terms of the GNU General Public License |
| 6 | + * as published by the Free Software Foundation; either version 2 |
| 7 | + * of the License, or (at your option) any later version. |
| 8 | + * |
| 9 | + * This program is distributed in the hope that it will be useful, |
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | + * GNU General Public License for more details. |
| 13 | + ********************************************************************/ |
14 | 14 |
|
15 |
| -using System; |
16 | 15 | using System.Collections.Generic;
|
| 16 | +using NuGet.Versioning; |
17 | 17 | using SoundSwitch.Framework.Updater.Releases.Models;
|
18 | 18 |
|
19 | 19 | namespace SoundSwitch.Framework.Updater.Releases
|
20 | 20 | {
|
21 | 21 | public class AppRelease
|
22 | 22 | {
|
23 |
| - public AppRelease(Version releaseVersion, Asset asset, string name) |
| 23 | + public AppRelease(SemanticVersion releaseVersion, Asset asset, string name) |
24 | 24 | {
|
25 | 25 | ReleaseVersion = releaseVersion;
|
26 | 26 | Asset = asset;
|
27 | 27 | Name = name;
|
28 | 28 | }
|
29 | 29 |
|
30 |
| - public Version ReleaseVersion { get; private set; } |
| 30 | + public SemanticVersion ReleaseVersion { get; private set; } |
31 | 31 | public Asset Asset { get; }
|
32 | 32 | public List<string> Changelog { get; } = new List<string>();
|
33 | 33 | public string Name { get; private set; }
|
|
0 commit comments