X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Fentry%2Fcheck%2Fmodel_version.sh;h=2bcc628bfbc799da15fe537539418cfc0d64e4f5;hb=refs%2Fchanges%2F12%2F34912%2F9;hp=c88644790097d3b144514a05177f15e04329d797;hpb=cca05a55f3434d8a031b98f4a496adb8df20c122;p=csit.git diff --git a/resources/libraries/bash/entry/check/model_version.sh b/resources/libraries/bash/entry/check/model_version.sh index c886447900..2bcc628bfb 100644 --- a/resources/libraries/bash/entry/check/model_version.sh +++ b/resources/libraries/bash/entry/check/model_version.sh @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2022 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -33,7 +33,7 @@ source "${BASH_FUNCTION_DIR}/common.sh" || { impl_log="edited_files.log" git diff --name-only HEAD~ > "${impl_log}" -if ! grep -q '^resources/libraries/python/model' "${impl_log}"; then +if ! grep -q '^docs/model/current/schema/test_case*' "${impl_log}"; then # Failing grep means no model edits. warn "No model implementation edits detected." warn