replace constants in app.php instead of main.php
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
This commit is contained in:
parent
03d71727e8
commit
006ffea7c5
@ -12,6 +12,6 @@ VERSION=$(git describe --tags --always --match "Release_*" HEAD)
|
|||||||
REVISION=$(git rev-parse --short HEAD)
|
REVISION=$(git rev-parse --short HEAD)
|
||||||
REVISION_DATE=$(git show -s --format=%aI HEAD)
|
REVISION_DATE=$(git show -s --format=%aI HEAD)
|
||||||
|
|
||||||
sed -i -E "s/const VERSION = '(.*)';/const VERSION = '${VERSION}';/" main.php
|
sed -i -E "s/const VERSION = '(.*)';/const VERSION = '${VERSION}';/" app.php
|
||||||
sed -i -E "s/const REVISION = '(.*)';/const REVISION = '${REVISION}';/" main.php
|
sed -i -E "s/const REVISION = '(.*)';/const REVISION = '${REVISION}';/" app.php
|
||||||
sed -i -E "s/const REVISION_DATE = '(.*)';/const REVISION_DATE = '${REVISION_DATE}';/" main.php
|
sed -i -E "s/const REVISION_DATE = '(.*)';/const REVISION_DATE = '${REVISION_DATE}';/" app.php
|
||||||
|
Loading…
Reference in New Issue
Block a user