Skip to content

Commit

Permalink
fix(f): f
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudmanson committed Sep 6, 2023
1 parent b38b49c commit 7fa0c23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gh-release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
matrix="["
for package_json in $(find ./packages -name package.json); do
version=$(jq -r .version "$package_json")
matrix="${matrix}{\"version\":\"${version}\"},"
name=$(jq -r .name "$package_json")
matrix="${matrix}{\"name\":\"${name}\", \"version\":\"${version}\"},"
done
matrix="${matrix%,}" # Remove trailing comma
matrix="${matrix}]" # Close the JSON array
Expand All @@ -38,4 +39,4 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ matrix.cfg.version }}
tag_name: "${{ matrix.cfg.name }}@${{ matrix.cfg.version }}"

0 comments on commit 7fa0c23

Please sign in to comment.