Skip to content

Commit

Permalink
Update publish.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Ghostuhin <[email protected]>
  • Loading branch information
TorinAsakura authored Aug 24, 2023
1 parent 99e7769 commit da3bb79
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ jobs:

- name: Create GitHub Releases
run: |
for package in $(yarn workspaces list --json | jq -r .name | grep '@atls'); do
cd $package
for package_name in $(yarn workspaces list --json | jq -r .name | grep '@atls'); do
package_path="packages/$(basename $package_name)"
cd $package_path
VERSION=$(node -p "require('./package.json').version")
TAG_NAME="$package-v$VERSION"
TAG_NAME="$package_name-v$VERSION"
git tag $TAG_NAME
git push origin $TAG_NAME
gh release create $TAG_NAME \
Expand Down

0 comments on commit da3bb79

Please sign in to comment.