Skip to content

Commit

Permalink
ci: fix getting current branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Jul 10, 2024
1 parent ab6d519 commit 2430c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish-for-forge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ clean() {
maybe_publish_forge_pkg() {
pkg="$1"
version=$(jq -r '.version' "packages/$pkg/package.json")
current_branch=$(git branch --show-current)
current_branch=$(echo "$GITHUB_REF" | sed -E 's|refs/heads/||')
echo "current_branch: $current_branch"
latest_commit_msg=$(git log -1 --pretty=%B)

Expand Down

0 comments on commit 2430c45

Please sign in to comment.