Skip to content

Commit

Permalink
build normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Aug 6, 2024
1 parent 02e4a0f commit 91930a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ phases:
on-failure: ABORT
commands:
- COMMIT=`git rev-parse --short HEAD`
- BRANCH=`git symbolic-ref -q --short HEAD || git name-rev $(git rev-parse --short HEAD) | cut -d' ' -f2 || ''`
- TAG=`git describe --tags --exact-match 2> /dev/null || ''`
- BRANCH=`git symbolic-ref -q --short HEAD || git name-rev $(git rev-parse --short HEAD) | cut -d' ' -f2 || echo ''`
- TAG=`git describe --tags --exact-match 2> /dev/null || echo ''`
- BRANCHTAG=`git describe --tags --exact-match 2> /dev/null || git symbolic-ref -q --short HEAD || git name-rev $(git rev-parse --short HEAD) | cut -d' ' -f2 || git rev-parse --short HEAD`
- echo "Branchtag ${BRANCHTAG}"

Expand Down

0 comments on commit 91930a3

Please sign in to comment.