Skip to content

Commit

Permalink
Merge pull request #28 from cgiesche/streamdeck-homeassistant-25
Browse files Browse the repository at this point in the history
#25: Injecting current tag to Version field of manifest.
  • Loading branch information
cgiesche committed Mar 21, 2021
2 parents 69eda7c + 877aa7d commit 2a06ebe
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a06ebe

Please sign in to comment.