fix(set_env) error:bad variable name, make compatible to sh
This commit is contained in:
parent
4e809cde3f
commit
80bbaf8f54
|
@ -1,3 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
export VITE_APP_GIT_TAG=$(git describe --tags | cut -d'-' -f1,2)
|
||||
export VITE_APP_LAST_COMMIT=$(git log -1 --format=%cd)
|
||||
|
||||
VITE_APP_GIT_TAG=$(git describe --tags | cut -d'-' -f1,2)
|
||||
VITE_APP_LAST_COMMIT=$(git log -1 --format=%cd)
|
||||
|
||||
export VITE_APP_GIT_TAG
|
||||
export VITE_APP_LAST_COMMIT
|
Loading…
Reference in New Issue