Skip to content

Commit

Permalink
Merge pull request #52 from Hamatti/add-utah
Browse files Browse the repository at this point in the history
Add Utah Hockey Club
  • Loading branch information
Hamatti authored Oct 8, 2024
2 parents 9b7bfcc + 88d261f commit 3859c44
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 1.4.0 - 2024-10-08

### Changed

- Remove Arizona Coyotes
- Add Utah Hockey Club

## 1.3.0 - 2023-10-21

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nhl-235"
version = "1.3.0"
version = "1.4.0"
authors = ["Juha-Matti Santala <juhamattisantala@gmail.com>"]
edition = "2018"
license = "MIT"
Expand All @@ -20,4 +20,4 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
structopt = "0.3.13"
atty = "0.2"
dirs = "4.0"
dirs = "4.0"
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -54,6 +54,7 @@ <h1>235</h1>
<h2>Release notes</h2>

<ul class="release-notes">
<li><a href="release-notes/1.4.0">version 1.4.0</a></li>
<li><a href="release-notes/1.3.0">version 1.3.0</a></li>
</ul>
</section>
Expand Down
58 changes: 58 additions & 0 deletions docs/release-notes/1.4.0.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Release notes for version 1.4.0 of nhl-235</title>

<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Fira+Code&display=swap"
rel="stylesheet"
/>

<meta property="og:title" content="235 - Release notes for 1.4.0" />
<meta
property="og:url"
content="https://hamatti.github.io/nhl-235/release-notes/1.4.0"
/>
<meta
property="og:description"
content="What's new in version 1.4.0 of nhl-235?"
/>
<meta
property="og:image"
content="https://hamatti.github.io/nhl-235-banner.png"
/>

<link rel="stylesheet" href="../main.css" />
</head>
<body>
<main>
<h1>Release notes for version 1.4.0</h1>

<section>
<h2>Arizona Coyotes out, Utah Hockey Club in</h2>
<p>
As the 2024-2025 season starts, we're seeing changes in teams. Arizona
Coyotes has left the league and relocated to Utah.
</p>
<h3>Update instructions</h3>
<p>
If you have installed 235 through
<a href="https://crates.io/crates/nhl-235">Cargo</a>, you can update
your package to 1.4.0 with <code>cargo install nhl-235</code>.
</p>
<p>
If you have downloaded a binary from
<a href="https://github.com/Hamatti/nhl-235">GitHub</a>, you can
download
<a href="https://github.com/Hamatti/nhl-235/releases/tag/v1.4.0"
>1.4.0</a
>
binary there and replace your old file.
</p>
</section>
</main>
</body>
</html>
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ fn translate_team_name(abbr: &str) -> String {
"NSH" => "Nashville",
"TBL" => "Tampa Bay",
"ANA" => "Anaheim",
"ARI" => "Arizona",
"COL" => "Colorado",
"LAK" => "Los Angeles",
"MIN" => "Minnesota",
Expand All @@ -191,6 +190,7 @@ fn translate_team_name(abbr: &str) -> String {
"VAN" => "Vancouver",
"WPG" => "Winnipeg",
"SEA" => "Seattle",
"UTA" => "Utah",
_ => "[unknown]",
};

Expand Down

0 comments on commit 3859c44

Please sign in to comment.