From 58ad466ee21ca9b7178ec065eef0126e672eb36d Mon Sep 17 00:00:00 2001 From: WonYoung Choi Date: Mon, 17 May 2021 10:31:12 +0900 Subject: [PATCH] ci test --- .github/workflows/deploy-packages.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-packages.yml b/.github/workflows/deploy-packages.yml index 9ec2a44..304faf5 100644 --- a/.github/workflows/deploy-packages.yml +++ b/.github/workflows/deploy-packages.yml @@ -29,7 +29,16 @@ jobs: with: ref: ${{ env.TARGET_BRANCH }} + - name: Get Version + id: version + env: + VERSION_PREFIX: ${{ steps.metadata.outputs.version-prefix }} + run: | + VERSION=$VERSION_PREFIX.$((10000+$(git rev-list --count HEAD))) + echo VERSION=$VERSION + echo "::set-output name=version::$VERSION" + - name: Test run: | - echo "${{ steps.metadata.outputs.tizen-branch }}" + echo "${{ steps.version.outputs.version }}" -- 2.7.4