Skip to content

Commit

Permalink
fixing retrieving package name from tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Dec 7, 2023
1 parent 649cd13 commit f99aa68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: |
# Extract package name from the tag name
TAG_NAME="${{ github.ref }}"
PACKAGE_NAME=$(echo "$TAG_NAME" | cut -d'-' -f1)
PACKAGE_NAME=$(echo "$TAG_NAME" | cut -d'/' -f3 | cut -d'-' -f1)
PACKAGE_NAMES=$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[].name' | tr '\n' ' ')
Expand Down

0 comments on commit f99aa68

Please sign in to comment.