Skip to content

Commit

Permalink
Release 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thebashpotato committed Dec 23, 2024
1 parent 7d61f6a commit b576b92
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ 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/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.2] - 2024-12-22

### Changed

- Forgot to update the version number in CMakelists.txt.... Stupid.

## [0.8.1] - 2024-12-22

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.18)
#
project(
etl
VERSION 0.8.1
VERSION 0.8.2
DESCRIPTION "C++ Extra Template Library"
HOMEPAGE_URL "https://github.com/thebashpotato/extra-template-library"
LANGUAGES CXX)
Expand Down
4 changes: 2 additions & 2 deletions etl/include/etl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ namespace etl

constexpr auto VERSION_MAJOR = 0;
constexpr auto VERSION_MINOR = 8;
constexpr auto VERSION_PATCH = 1;
constexpr auto VERSION_PATCH = 2;
constexpr auto VERSION = (VERSION_MAJOR * 10000) + (VERSION_MINOR * 100) + VERSION_PATCH;
constexpr std::string_view VERSION_STRING = "0.8.1";
constexpr std::string_view VERSION_STRING = "0.8.2";

/// @brief Ditch those old C style for loops and iterate over your enums safely with ranged for loops.
///
Expand Down
4 changes: 2 additions & 2 deletions etl/tests/version_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

TEST(EtlVersionTests, EnsureVersionStringIsCorrect)
{
ASSERT_EQ(etl::VERSION_STRING, "0.8.1");
ASSERT_EQ(etl::VERSION_STRING, "0.8.2");
}

TEST(EtlVersionTests, EnsureVersionIntIsCorrect)
{
ASSERT_EQ(etl::VERSION_MAJOR, 0);
ASSERT_EQ(etl::VERSION_MINOR, 8);
ASSERT_EQ(etl::VERSION_PATCH, 1);
ASSERT_EQ(etl::VERSION_PATCH, 2);
}

0 comments on commit b576b92

Please sign in to comment.