ci test
authorWonYoung Choi <wy80.choi@samsung.com>
Mon, 17 May 2021 01:31:12 +0000 (10:31 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Mon, 17 May 2021 01:31:12 +0000 (10:31 +0900)
.github/workflows/deploy-packages.yml

index 9ec2a44..304faf5 100644 (file)
@@ -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 }}"