Skip to content

Commit 2005f21

Browse files
Make sure version is trimmed on build too
1 parent b234659 commit 2005f21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/make-phar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
define( 'BE_QUIET', isset( $runtime_config['quiet'] ) && $runtime_config['quiet'] );
2222

23-
$current_version = file_get_contents( './VERSION' );
23+
$current_version = trim( file_get_contents( './VERSION' ) );
2424

2525
if ( isset( $runtime_config['version'] ) ) {
2626
$new_version = $runtime_config['version'];

0 commit comments

Comments
 (0)