-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #451 from rest-for-physics/release_v2.4
Release v2.4
- Loading branch information
Showing
11 changed files
with
39 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
function (set_library_version TAG_VARIABLE) | ||
execute_process( | ||
COMMAND git describe --abbrev=0 --tags | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} | ||
OUTPUT_VARIABLE GIT_TAG | ||
OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET) | ||
|
||
if (NOT GIT_TAG) | ||
message( | ||
WARNING | ||
"Failed to retrieve Git tag for ${CMAKE_CURRENT_SOURCE_DIR}. Probably the '.git' directory is missing. This may happen in remote development environments. To fix this configure the syncing of the '.git' directory." | ||
) | ||
return() | ||
endif () | ||
|
||
string(REGEX REPLACE "^v(.*)" "\\1" LIB_VERSION ${GIT_TAG}) | ||
|
||
set(${TAG_VARIABLE} | ||
${LIB_VERSION} | ||
PARENT_SCOPE) | ||
|
||
message( | ||
STATUS "${CMAKE_CURRENT_SOURCE_DIR} library version: ${LIB_VERSION}") | ||
endfunction () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule axion
updated
73 files
Submodule connectors
updated
16 files
Submodule detector
updated
62 files
Submodule geant4
updated
18 files
+1 −1 | .clang-format | |
+6 −0 | .cmake-format.yaml | |
+23 −0 | .github/workflows/frameworkValidation.yml | |
+25 −10 | .github/workflows/validation.yml | |
+35 −0 | .pre-commit-config.yaml | |
+25 −22 | CMakeLists.txt | |
+0 −2 | inc/TRestGeant4Metadata.h | |
+1 −1 | inc/TRestGeant4ParticleSourceDecay0.h | |
+2 −2 | macros/REST_Geant4_ListIsotopes.C | |
+56 −46 | macros/REST_Geant4_ViewGeometry.C | |
+0 −1 | pipeline/clang-format/clang-format.sh | |
+0 −1 | pipeline/clang-format/clangformattest.sh | |
+115 −109 | pipeline/validateLibrary.py | |
+0 −1 | src/TRestGeant4AnalysisProcess.cxx | |
+1 −2 | src/TRestGeant4Event.cxx | |
+17 −17 | src/TRestGeant4Metadata.cxx | |
+4 −3 | src/TRestGeant4ParticleSource.cxx | |
+3 −2 | src/TRestGeant4ParticleSourceDecay0.cxx |
Submodule raw
updated
38 files
Submodule track
updated
36 files
Submodule restG4
updated
66 files