From 566c92b7809f27779e92d533e1a015d5aacf6d95 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 25 Mar 2020 15:31:28 +0000 Subject: [PATCH] make sure version is in core/sys_config --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 789dc1a5..6638b875 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,10 +13,13 @@ jobs: - name: Checkout code uses: actions/checkout@master - - name: Get the version + - name: Get version from tag id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/} + - name: Test version in sys_config + run: grep ${{ steps.get_version.outputs.VERSION }} core/sys_config.php + - name: Build run: | composer install --no-dev