Skip to content

Commit

Permalink
release-stable: osx image generation. Test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Jun 16, 2024
1 parent 33fc0c3 commit fa5166d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,13 @@ jobs:
- id: icestudio_json
run: |
content=`tr '\n' ' ' < package.json`
echo "packageJson=${content}" >> $GITHUB_OUTPUT
echo "packageJson=${content}" >> $GITHUB_OUTPUT
# Read the icestudio version from package.json (version property)
- id: icestudio_version_json
run: |
version=$(jq -r '.version' package.json)
echo "icestudio_version=${version}" >> $GITHUB_OUTPUT
- name: Sign DMG
env:
Expand All @@ -188,7 +194,7 @@ jobs:
uses: softprops/action-gh-release@v1
env:
# VERSION: "${{fromJson(steps.icestudio_json.outputs.packageJson).version}}"
VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
VERSION: "${{steps.icestudio_version_json.outputs.icestudio_version}}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
Expand Down

0 comments on commit fa5166d

Please sign in to comment.