summaryrefslogtreecommitdiff
path: root/scripts/get_version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/get_version.sh')
-rwxr-xr-xscripts/get_version.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/get_version.sh b/scripts/get_version.sh
new file mode 100755
index 0000000..324ed75
--- /dev/null
+++ b/scripts/get_version.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+# ASS (Advanced Streaming Software) - Helper script
+# This file is part of ASS.
+#
+# ASS is free software: you can redistribute it and/or modify it under the terms of the Affero GNU
+# General Public License as published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# ASS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Affero GNU
+# General Public License for more details.
+#
+# You should have received a copy of the Affero GNU General Public License along with ASS.
+# If not, see <https://www.gnu.org/licenses/>
+#
+# Copyright 2026 ludolpif <ludolpif@gmail.com>
+
+SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
+
+"$SCRIPT_DIR/generate_version.py" >/dev/null
+cat -- "$(dirname $SCRIPT_DIR)/VERSION"