diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-09-01 12:14:55 +0300 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-09-01 13:05:45 +0300 |
commit | b190d122ef7786f3af20042ced35f18b311cc1d3 (patch) | |
tree | 5f474e637ba3770fdaa1b85a5dbb5623548bfae1 | |
parent | 77e054ef27d3f2e92a4e12668490585ce739521c (diff) |
Compare content, not binary as the signature is different at each build
Had to exclude from diff:
- Signature which always differs
- lib/Version.php which depends upon git describe and is shorter in CI
- Content: line which contains global size, which depends upon lib/Version.php size
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | .github/workflows/check-same-code-base.yml | 6 | ||||
-rwxr-xr-x | updater.phar | bin | 788801 -> 788795 bytes |
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/check-same-code-base.yml b/.github/workflows/check-same-code-base.yml index 143c4b5..30c302d 100644 --- a/.github/workflows/check-same-code-base.yml +++ b/.github/workflows/check-same-code-base.yml @@ -35,6 +35,8 @@ jobs: - name: check-updater-phar run: | - mv updater.phar updater.old.phar + make box + ./box info -l updater.phar | grep -v "^Signature Hash" | grep -v "^ Version.php " | grep -v "^Contents: " >updater.old.txt make updater.phar - diff updater.phar updater.old.phar + ./box info -l updater.phar | grep -v "^Signature Hash" | grep -v "^ Version.php " | grep -v "^Contents: " >updater.txt + diff updater.txt updater.old.txt diff --git a/updater.phar b/updater.phar Binary files differindex f95bfe9..c0a1991 100755 --- a/updater.phar +++ b/updater.phar |