Skip to content

Commit 8841e9e

Browse files
committed
ensure libver is updated by releaseplease
1 parent 974ef26 commit 8841e9e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/Client.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@
5252
*/
5353
class Client
5454
{
55-
const LIBVER = "2.18.3";
55+
// Release Please updates the VERSION constant. This workaround ensures the LIBVER constant
56+
// will be updated for each release.
57+
private const VERSION = '2.18.3';
58+
const LIBVER = self::VERSION;
59+
5660
const USER_AGENT_SUFFIX = "google-api-php-client/";
5761
const OAUTH2_REVOKE_URI = 'https://oauth2.googleapis.com/revoke';
5862
const OAUTH2_TOKEN_URI = 'https://oauth2.googleapis.com/token';

0 commit comments

Comments
 (0)