mirror of
https://github.com/actions/labeler.git
synced 2025-12-15 06:27:13 +00:00
f
This commit is contained in:
2
.github/workflows/check_dist.sh
vendored
2
.github/workflows/check_dist.sh
vendored
@@ -1,6 +1,6 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
dist_index_diff=$(git diff --exit-code -- dist/index.js)
|
||||
dist_index_diff=$(git diff --exit-code --text -- dist/index.js)
|
||||
|
||||
if [[ "$dist_index_diff" ]]; then
|
||||
echo -e "$dist_index_diff\n‼️ Changes detected to dist/index.js! \n\tPlease run \`npm run build' and commit the result." >&2;
|
||||
|
||||
Reference in New Issue
Block a user