summaryrefslogtreecommitdiff
path: root/scripts/get_version.sh
diff options
context:
space:
mode:
authorludolpif <ludolpif@ass-project.org>2026-11-29 00:01:11 +0100
committerludolpif <ludolpif@ass-project.org>2026-11-29 00:01:11 +0100
commit88e891a048cc2b0c9f7b201bf62fa9845d182aeb (patch)
tree8a4599804de492f5030f8846657a886a88efc763 /scripts/get_version.sh
downloadass-main.tar.gz
ass-main.tar.bz2
ass-main.zip
feat(app): SDL3 Hello World with meson build files and scripts for linux onlyHEADmain
Signed-off-by: ludolpif <ludolpif@ass-project.org>
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"