mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
16 lines
324 B
Python
Executable File
16 lines
324 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Generates a Semantic Versioning identifier, suffixed with a timestamp.
|
|
"""
|
|
|
|
from time import time
|
|
|
|
from authentik import authentik_version
|
|
|
|
"""
|
|
See: https://semver.org/#spec-item-9 (Pre-release spec)
|
|
"""
|
|
pre_release_timestamp = int(time())
|
|
|
|
print(f"{authentik_version()}-{pre_release_timestamp}")
|