Browse Source

fix release notes on homepage with alpha suffix (#312)

pull/314/head
Jason Dove 4 years ago committed by GitHub
parent
commit
eba50523a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 2
      ErsatzTV/Pages/Index.razor

2
CHANGELOG.md

@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [Unreleased]
### Fixed
- Fix release notes on home page with `-alpha` suffix
## [0.0.50-alpha] - 2021-07-13 ## [0.0.50-alpha] - 2021-07-13
### Added ### Added

2
ErsatzTV/Pages/Index.razor

@ -38,7 +38,7 @@
if (version != "develop") if (version != "develop")
{ {
string gitHubVersion = version.Split("-").Head() + "-prealpha"; string gitHubVersion = version.Split("-").Head() + "-alpha";
if (!gitHubVersion.StartsWith("v")) if (!gitHubVersion.StartsWith("v"))
{ {
gitHubVersion = $"v{gitHubVersion}"; gitHubVersion = $"v{gitHubVersion}";

Loading…
Cancel
Save