diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 83b914f..b7699a5 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -63,7 +63,7 @@ jobs: package: NWBFormat-windows run: | plugin_api=$(grep -rnw ../../plugin-GUI/Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1) - tag=$(git describe --tags $(git rev-list --tags --max-count=1)) + tag=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+") new_plugin_ver=$tag-API$plugin_api mkdir plugins cp -v $build_dir/*.dll plugins diff --git a/Source/OpenEphysLib.cpp b/Source/OpenEphysLib.cpp index 933ecd4..495990c 100644 --- a/Source/OpenEphysLib.cpp +++ b/Source/OpenEphysLib.cpp @@ -40,7 +40,7 @@ extern "C" EXPORT void getLibInfo(Plugin::LibraryInfo* info) { info->apiVersion = PLUGIN_API_VER; info->name = "NWB2 Format"; - info->libVersion = "0.2.1"; + info->libVersion = "0.2.2"; info->numPlugins = NUM_PLUGINS; }