mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Build: fix shellcheck (#53602)
This commit is contained in:
parent
a31d96d20a
commit
0ac85c8169
@ -21,10 +21,10 @@ while IFS=" " read -r -a package; do
|
||||
fi
|
||||
|
||||
# Extract the npm package tarballs into separate directories e.g. ./base/@grafana-data.tgz -> ./base/grafana-data/
|
||||
mkdir $PREV
|
||||
tar -xf ./base/@$PACKAGE_PATH.tgz --strip-components=1 -C $PREV
|
||||
mkdir $CURRENT
|
||||
tar -xf ./pr/@$PACKAGE_PATH.tgz --strip-components=1 -C $CURRENT
|
||||
mkdir "$PREV"
|
||||
tar -xf "./base/@$PACKAGE_PATH.tgz" --strip-components=1 -C "$PREV"
|
||||
mkdir "$CURRENT"
|
||||
tar -xf "./pr/@$PACKAGE_PATH.tgz" --strip-components=1 -C "$CURRENT"
|
||||
|
||||
# Run the comparison and record the exit code
|
||||
echo ""
|
||||
@ -52,4 +52,4 @@ echo "::set-output name=is_breaking::$EXIT_CODE"
|
||||
echo "::set-output name=message::$GITHUB_MESSAGE"
|
||||
|
||||
# We will exit the workflow accordingly at another step
|
||||
exit 0
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user