From 3cb9f148d795757ced5363dd28399a726a7f0e2c Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 31 Jul 2021 22:51:24 -0500 Subject: [PATCH] Remove version file and use command instead --- .github/workflows/build.yml | 3 ++- version | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 version diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d676ef180ab..3d085ce969f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,8 @@ jobs: - run: yarn install - run: yarn build - run: cp config.json webapp/ - - run: cp version webapp/ + - run: | + echo $(grep version package.json | sed 's|.*: \"\(.*\)\",|\1|') > webapp/version - name: Deploy uses: crazy-max/ghaction-github-pages@v2 diff --git a/version b/version deleted file mode 100644 index 0e98cde80c8..00000000000 --- a/version +++ /dev/null @@ -1 +0,0 @@ -1.7.33