Files
sdk/tools/debian_package/get_version.py
Ryan Macnak efda4aff7c Add GN target to build Debian package from regular output.
Bug: https://github.com/dart-lang/sdk/issues/26953
Cq-Include-Trybots: luci.dart.try:dart-sdk-linux-arm64-try,dart-sdk-linux-riscv64-try,dart-sdk-linux-try
Change-Id: I38dfcadee836733c2e8824c2da21b9619dd2fc77
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/281307
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2025-01-13 10:57:09 -08:00

21 lines
478 B
Python
Executable File

#!/usr/bin/env python3
#
# Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
import sys
from os import listdir
from os.path import join, split, abspath, dirname
sys.path.append(join(dirname(__file__), '..'))
import utils
def Main():
print(utils.GetVersion())
if __name__ == '__main__':
sys.exit(Main())