From e1c666e3ad060dc1a668080f1efa88a02cbaf30a Mon Sep 17 00:00:00 2001 From: garrettmills Date: Mon, 19 Oct 2020 10:28:27 -0500 Subject: [PATCH] Write build version to file on deploy (#24) --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index 8ab01f3..7beab32 100644 --- a/.drone.yml +++ b/.drone.yml @@ -55,6 +55,7 @@ steps: - cd www - sed -i 's///' index.html - sed -i 's/Ionic App/Noded/' index.html + - echo -n '${DRONE_TAG}-staging' | sudo tee version.html when: event: promote target: staging @@ -92,6 +93,7 @@ steps: - cd www - sed -i 's///' index.html - sed -i 's/Ionic App/Noded/' index.html + - echo -n '${DRONE_TAG}-prod' | sudo tee version.html when: event: promote target: production