#!/usr/bin/env bash

set -e -x -u

ci/scripts/build.sh

version=$(cat ../docs-version/version)

tar -cvzf "docs-${version}.tgz" final_app/public manifest.yml manifest.dev.yml
mv "docs-${version}.tgz" ../final-app/

#!/usr/bin/env bash

set -e -x -u

version=$(cat ../docs-version/version)

ci/scripts/build.sh

echo "${version}" > final_app/public/version.txt

tar -cvzf "docs-${version}.tgz" final_app/public manifest.yml manifest.dev.yml
mv "docs-${version}.tgz" ../final-app/

Add version file to deployed artifact
Add version file to deployed artifact
