From b195ed99051f23ed84dc372a68226dc2112397be Mon Sep 17 00:00:00 2001 From: Igor Gov Date: Wed, 21 Jul 2021 11:18:37 +0300 Subject: [PATCH] Adding version as part of cli/bin --- .github/workflows/publish.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8de4458db..693fd999e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -66,6 +66,8 @@ jobs: COMMIT_HASH=${{ github.sha }} - name: Build and Push CLI run: make push-cli SEM_VER='${{ steps.versioning.outputs.version }}' BUILD_TIMESTAMP='${{ steps.version_parameters.outputs.build_timestamp }}' + - shell: bash + run: echo '${{ steps.versioning.outputs.version }}' >> cli/bin/version.txt - name: publish uses: ncipollo/release-action@v1 with: @@ -75,10 +77,4 @@ jobs: tag: ${{ steps.versioning.outputs.version }} prerelease: ${{ github.ref != 'refs/heads/main' }} bodyFile: 'cli/bin/README.md' - - shell: bash - run: echo '${{ steps.versioning.outputs.version }}' >> version.txt - - name: Upload version artifact - uses: actions/upload-artifact@v2 - with: - name: version - path: version.txt +