Skip to content

Commit

Permalink
Cut v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eliaskosunen committed Feb 12, 2024
1 parent 0442244 commit d026afb
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
uses: actions/checkout@v4

- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-arch-${{ matrix.distro }}-${{ matrix.arch }}-${{ github.sha }}
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
choco install ccache
- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-Windows-win2022-msvc${{ matrix.arch }}-std17-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
uses: actions/checkout@v4

- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-coverage-${{ github.sha }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ jobs:
uses: actions/checkout@v4

- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-ubuntu${{ matrix.os }}-${{ matrix.cxx }}-std${{ matrix.std }}-${{ github.sha }}
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
sudo locale -a
- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-ubuntu${{ matrix.os }}-${{ env.CXX }}-std${{ matrix.std }}-libcxx-${{ github.sha }}
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
uses: actions/checkout@v4

- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-alpine-${{ github.sha }}
Expand Down Expand Up @@ -436,7 +436,7 @@ jobs:
uses: actions/checkout@v4

- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-ubuntu22.04-${{ env.CXX }}-std${{ matrix.std }}-sanitize-${{ github.sha }}
Expand Down Expand Up @@ -499,7 +499,7 @@ jobs:
${APT_INSTALL} ccache
- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-ubuntu22.04-${{ env.CXX }}-std${{ env.CMAKE_CXX_STANDARD }}-install${{ matrix.external_deps }}-${{ github.sha }}
Expand Down Expand Up @@ -607,7 +607,7 @@ jobs:
echo "${{ matrix.flags }}" > $GITHUB_WORKSPACE/flags.txt
- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-ubuntu22.04-${{ env.CXX }}-std${{ env.CMAKE_CXX_STANDARD }}-flags${{ hashfiles('$GITHUB_WORKSPACE/flags.txt') }}-${{ github.sha }}
Expand Down Expand Up @@ -705,7 +705,7 @@ jobs:
uses: actions/checkout@v4

- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-ubuntu22.04-${{ env.CXX }}-std${{ env.CMAKE_CXX_STANDARD }}-regex${{ matrix.engine }}-icu${{ matrix.icu }}-${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
uses: actions/checkout@v4

- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-Linux-ubuntu${{ matrix.os }}-${{ matrix.cxx }}-std${{ matrix.std }}-${{ github.sha }}
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
choco install ccache
- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-Windows-win${{ matrix.os }}-msvc${{ matrix.platform }}-std${{ matrix.std }}-${{ matrix.type }}-${{ github.sha }}
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
brew install --overwrite ccache
- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-macOS-macos12-${{ matrix.cxx }}-std${{ matrix.std }}-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
echo "CXXFLAGS=-isystem ${llvm_root}/include/c++/v1" >> $GITHUB_ENV
- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-macos${{ matrix.os }}-${{ matrix.cxx }}-std${{ matrix.std }}-${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
choco install ccache
- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-win${{ matrix.os }}-msvc${{ matrix.platform }}-std${{ matrix.std }}-${{ matrix.type }}-${{ github.sha }}
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
choco install ccache
- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-win${{ matrix.os }}-clangcl${{ matrix.platform }}-std${{ matrix.std }}-${{ matrix.type }}-${{ github.sha }}
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
uses: actions/checkout@v4

- name: Load ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ github.workflow }}-win2022-msys-${{ matrix.sys }}-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 2.0.1

_Released 2024-02-xx_
_Released 2024-02-12_

## Fixes

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16)

project(
scn
VERSION 2.0.0
VERSION 2.0.1
DESCRIPTION "scanf for modern C++"
HOMEPAGE_URL "https://scnlib.dev"
LANGUAGES CXX
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/mainpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Another option would be usage through CMake's `FetchContent` module.
FetchContent_Declare(
scn
GIT_REPOSITORY https://github.com/eliaskosunen/scnlib
GIT_TAG v2.0.0
GIT_TAG v2.0.1
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(scn)
Expand Down
2 changes: 1 addition & 1 deletion include/scn/detail/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <scn/detail/pp_detect.h>

#define SCN_VERSION SCN_COMPILER(2, 0, 0)
#define SCN_VERSION SCN_COMPILER(2, 0, 1)

// SCN_USE_EXCEPTIONS
// If 0, removes all `noexcept` annotations,
Expand Down

0 comments on commit d026afb

Please sign in to comment.