mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Track tag files, before checking for the diff
This commit is contained in:
parent
ef896faa01
commit
c65eb4d663
2
.github/deploy.sh
vendored
2
.github/deploy.sh
vendored
@ -34,6 +34,8 @@ git config user.name "GHA CI"
|
||||
git config user.email "gha@ci.invalid"
|
||||
|
||||
if [[ -n $TAG_NAME ]]; then
|
||||
# track files, so that the following check works
|
||||
git add --intent-to-add "$TAG_NAME"
|
||||
if git diff --exit-code --quiet -- $TAG_NAME/; then
|
||||
echo "No changes to the output on this push; exiting."
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user