File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7
7
commands :
8
8
# Set COMMIT_INFO variables to send Git specifics to Cypress Cloud when recording
9
9
# https://docs.cypress.io/guides/continuous-integration/introduction#Git-information
10
- - export COMMIT_INFO_BRANCH="$(git rev-parse HEAD | xargs git name-rev | cut -d' ' -f2 | sed 's/remotes\/origin\///g')"
10
+ - export COMMIT_INFO_BRANCH="$(git rev-parse HEAD | xargs git name-rev | cut -d' ' -f2 | sed 's/remotes\/origin\///g') | sed 's/~.\+$//g' "
11
11
- export COMMIT_INFO_MESSAGE="$(git log -1 --pretty=%B)"
12
12
- export COMMIT_INFO_EMAIL="$(git log -1 --pretty=%ae)"
13
13
- export COMMIT_INFO_AUTHOR="$(git log -1 --pretty=%an)"
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ phases:
28
28
commands :
29
29
# Set COMMIT_INFO variables to send Git specifics to Cypress Cloud when recording
30
30
# https://docs.cypress.io/guides/continuous-integration/introduction#Git-information
31
- - export COMMIT_INFO_BRANCH="$(git rev-parse HEAD | xargs git name-rev | cut -d' ' -f2 | sed 's/remotes\/origin\///g')"
31
+ - export COMMIT_INFO_BRANCH="$(git rev-parse HEAD | xargs git name-rev | cut -d' ' -f2 | sed 's/remotes\/origin\///g') | sed 's/~.\+$//g' "
32
32
- export COMMIT_INFO_MESSAGE="$(git log -1 --pretty=%B)"
33
33
- export COMMIT_INFO_EMAIL="$(git log -1 --pretty=%ae)"
34
34
- export COMMIT_INFO_AUTHOR="$(git log -1 --pretty=%an)"
You can’t perform that action at this time.
0 commit comments