Skip to content

Commit

Permalink
fix: remove whitespace from branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 committed Nov 7, 2024
1 parent e2f08dd commit 2d07c72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
run: |
branch=$(git branch -r --contains ${{ github.ref }} --format "%(refname:lstrip=3)")
echo "BRANCH=$branch" >> $GITHUB_ENV
echo "::set-output name=branch::$branch"
branch=$(echo "$branch" | xargs)
# echo "::set-output name=branch::$branch"
- name: Echo Branch
run: echo ${{ env.BRANCH }}
- name: Echo Branch for Debugging
Expand Down

0 comments on commit 2d07c72

Please sign in to comment.