Reviewed-on: https://git.query.consul/unkin/packer-images/pulls/8
This commit is contained in:
parent
f9dfb09ce5
commit
f92b6f13ff
@ -1,7 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Check for changes in images/ folder and the builds/ folder
|
# Check for changes in images/ folder and the builds/ folder
|
||||||
git fetch origin master:master
|
|
||||||
if [ "$(git branch --show-current)" = "master" ]; then
|
if [ "$(git branch --show-current)" = "master" ]; then
|
||||||
builds_changes=$(git diff --name-only HEAD^...master | grep -E '^builds/')
|
builds_changes=$(git diff --name-only HEAD^...master | grep -E '^builds/')
|
||||||
images_changes=$(git diff --name-only HEAD^...master | grep -E '^images/')
|
images_changes=$(git diff --name-only HEAD^...master | grep -E '^images/')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user