From 5cb0894cb2aa5aec6add57422b2b65f41b736b7c Mon Sep 17 00:00:00 2001 From: Evgeny Posenitskiy <45995097+q-posev@users.noreply.github.com> Date: Fri, 27 Oct 2023 13:07:48 +0200 Subject: [PATCH] Introduce test for version --- .github/workflows/actions.yml | 12 ++++++++++++ CMakeLists.txt | 2 +- configure.ac | 2 +- ocaml/trexio/dune-project | 2 +- rust/trexio/Cargo.toml | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 40fa30e1..e42bfad9 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -39,6 +39,18 @@ jobs: steps: - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 + - name: check versions + run: | + grep AC_INIT configure.ac | tr -d '[]' | awk -F, '{ print $2 }' > configure_v + grep -w VERSION CMakeLists.txt | grep -v 'cmake_minimum_required' | awk '{ print $2 }' > cmake_v + grep version python/pytrexio/_version.py | tr -d '"' | awk '{ print $3 }' > python_v + grep version rust/trexio/Cargo.toml | grep -v features | tr -d '"' | awk '{ print $3 }' > rust_v + grep version ocaml/trexio/dune-project | tr -d '()' | awk '{ print $2 }' > ocaml_v + diff configure_v cmake_v + diff configure_v python_v + diff configure_v rust_v + diff configure_v ocaml_v + - name: install dependencies run: | sudo add-apt-repository ppa:kelleyk/emacs diff --git a/CMakeLists.txt b/CMakeLists.txt index dbbbb6c0..0f3ff876 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16) # Initialize the CMake project. project(Trexio - VERSION 2.4.2 + VERSION 2.5.0 DESCRIPTION "TREX I/O library" LANGUAGES C Fortran ) diff --git a/configure.ac b/configure.ac index ecd13aeb..aad67a8c 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([trexio],[2.4.2],[https://github.com/TREX-CoE/trexio/issues]) +AC_INIT([trexio],[2.5.0],[https://github.com/TREX-CoE/trexio/issues]) AC_CONFIG_SRCDIR([Makefile.in]) AC_CONFIG_HEADERS([include/config.h]) diff --git a/ocaml/trexio/dune-project b/ocaml/trexio/dune-project index 5d32174b..71fc87f6 100644 --- a/ocaml/trexio/dune-project +++ b/ocaml/trexio/dune-project @@ -1,7 +1,7 @@ (lang dune 3.1) (name trexio) -(version 2.4.2) +(version 2.5.0) (generate_opam_files false) diff --git a/rust/trexio/Cargo.toml b/rust/trexio/Cargo.toml index 5ca5289c..12c22584 100644 --- a/rust/trexio/Cargo.toml +++ b/rust/trexio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trexio" -version = "2.4.2" +version = "2.5.0" edition = "2021" license = "BSD-3-Clause" authors = ["Anthony Scemama ", "Evgeny Posenitskiy"]