Skip to content

Commit

Permalink
fix(release-please): attempt to fix the error: 'The template is not v…
Browse files Browse the repository at this point in the history
…alid.'
  • Loading branch information
SouOWendel committed Sep 27, 2023
1 parent c3f8089 commit 6f267c1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,8 @@ jobs:
shell: bash
env:
RELEASE_DOWNLOAD: ${{steps.get_vars.outputs.RELEASE_DOWNLOAD_URL}}
# Extract version and download url from system.json
# https://docs.github.com/en/actions/learn-github-actions/expressions#fromjson
PACKAGE_DOWNLOAD: ${{fromJSON(steps.get_vars.outputs.SYSTEM_JSON).download}}
run: |
if [[ ! $RELEASE_DOWNLOAD != PACKAGE_DOWNLOAD ]]; then
echo $(jq --arg a "$RELEASE_DOWNLOAD" '.download = ($a)' system.json) > system.json
echo $(jq --arg a "$RELEASE_DOWNLOAD" '.download = ($a)' system.json) > system.json
# Create a zip file with all files required by the module to add to the release
- name: Create Zip with Name and Release Version
Expand Down

0 comments on commit 6f267c1

Please sign in to comment.