From 877aa7d37cf2aaf08f193e13abe70052722ecb27 Mon Sep 17 00:00:00 2001 From: Christoph Giesche Date: Sun, 21 Mar 2021 17:14:14 +0100 Subject: [PATCH] #25: Injecting current tag to Version field of manifest. --- .github/workflows/release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a255afd..6ed004d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,18 +14,16 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2.1.4 - - name: Get release info - id: semantic_release_info - uses: jossef/action-semantic-release-info@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Determine tag name + id: tagName + run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - name: Update manifest version uses: jossef/action-set-json-field@v1 with: file: public/manifest.json field: Version - value: ${{ steps.semantic_release_info.outputs.git_tag }} + value: ${{ steps.tagName.outputs.tag }} - name: NPM Install run: npm install