Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
403-html committed Jan 28, 2022
1 parent 4fa0400 commit 0ae43d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

- name: Get current prefix
id: branch-prefix
run: echo "::set-output name=prefix::$(git symbolic-ref --short HEAD)"
run: echo "::set-output name=prefix::$(git rev-parse --abbrev-ref HEAD | sed -E 's/^([a-z]+).*/\1/')"

- name: Check if branch prefix is valid (major, minor, patch)
run: |
Expand Down

0 comments on commit 0ae43d2

Please sign in to comment.