Skip to content

Commit c7bb0be

Browse files
committed
fix(tests): avoid dirty suffix in updater.phar check
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
1 parent a30e120 commit c7bb0be

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/check-same-code-base.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
run: |
4848
composer -V --ansi
4949
./vendor/bin/box info -lm flat updater.phar | LC_LOCALE=C sort | grep -Ev "^(Signature Hash| Version.php |Contents: | installed.php |Timestamp: )" > updater.old.txt
50+
# Makes sure repository is clean so the version isn't generated with "dirty" suffix
51+
git restore
5052
make updater.phar
5153
./vendor/bin/box info -lm flat updater.phar | LC_LOCALE=C sort | grep -Ev "^(Signature Hash| Version.php |Contents: | installed.php |Timestamp: )" > updater.txt
5254
diff --suppress-common-lines -t --tabsize=4 -d -y --color=always updater.txt updater.old.txt

0 commit comments

Comments
 (0)