X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Fentry%2Fcheck%2Fmodel_version.sh;h=2bcc628bfbc799da15fe537539418cfc0d64e4f5;hp=c88644790097d3b144514a05177f15e04329d797;hb=5feb31a42f13c2e34df4b76a0b722b3fa7c439e0;hpb=cd1f9904e173ecb34836b33cb551ab9b9d378e18 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