mirror of
https://github.com/luxfhe/example-redact.git
synced 2026-10-30 18:13:20 +00:00
10 lines
197 B
Bash
10 lines
197 B
Bash
#!/bin/bash
|
|
|
|
# Extract the latest Git tag
|
|
GIT_TAG=$(git describe --tags --abbrev=0)
|
|
|
|
# Export it as an environment variable
|
|
export NEXT_PUBLIC_APP_VERSION=$GIT_TAG
|
|
|
|
echo "$NEXT_PUBLIC_APP_VERSION"
|