Skip to content

Commit

Permalink
Replaces #19 - squash and merge settings causing issues with history (#…
Browse files Browse the repository at this point in the history
…20)

Co-authored-by: alexiswl <[email protected]>
Fixed bump scripts (#15)
  • Loading branch information
alexiswl authored Nov 6, 2023
1 parent 8ea8450 commit e8a0936
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pipeline_on_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- name: Checkout code
id: git_checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

# Get the tag based on the GITHUB REF env var
- id: get_tag
Expand Down Expand Up @@ -119,8 +121,9 @@ jobs:
run: |
# Get branch name
raw="$( \
git branch --remotes --contains ${{ github.ref }} \
git branch --remotes --contains "${{ github.ref }}" \
)"
raw="${raw// /}"
echo "branch_name=${raw/origin\/}" >> "${GITHUB_OUTPUT}"
# Validate bump
Expand Down

0 comments on commit e8a0936

Please sign in to comment.