File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 49
49
echo "NEW_VERSION=${NEW_VERSION}" >> $GITHUB_ENV
50
50
echo OLD_VERSION = ${OLD_VERSION}
51
51
echo NEW_VERSION = ${NEW_VERSION}
52
- elif git diff-tree --no-commit-id --name-only ${{ github.sha }} -r | grep -q "tools\/Dockerfile-tty"; then
52
+ elif git diff-tree --no-commit-id --name-only ${{ github.sha }} -r | grep -q -x "tools\/Dockerfile-tty"; then
53
53
# No special tag found, but changes were made to the tools/Dockerfile-tty so will upgrade the patch version.
54
54
NEW_VERSION="$(echo ${OLD_VERSION} | awk -F. -v OFS=. '{$3 = $3 + 1} {print $0}')"
55
55
echo "NEW_VERSION=${NEW_VERSION}" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 63
63
echo "NEW_VERSION=${NEW_VERSION}" >> $GITHUB_ENV
64
64
echo OLD_VERSION = ${OLD_VERSION}
65
65
echo NEW_VERSION = ${NEW_VERSION}
66
- elif git diff-tree --no-commit-id --name-only ${{ github.sha }} -r | grep -q "tools\/Dockerfile"; then
66
+ elif git diff-tree --no-commit-id --name-only ${{ github.sha }} -r | grep -q -x "tools\/Dockerfile"; then
67
67
# No special tag found, but changes were made to the tools/Dockerfile so will upgrade the patch version.
68
68
NEW_VERSION="$(echo ${OLD_VERSION} | awk -F. -v OFS=. '{$3 = $3 + 1} {print $0}')"
69
69
echo "NEW_VERSION=${NEW_VERSION}" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments