Skip to content

Commit

Permalink
get version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jdettmannnava committed Feb 10, 2025
1 parent a4bc2c0 commit e8f9c8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ecs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ jobs:
- name: "Get Version Tag"
id: get-version-tag
run: |
set +e
VERSION_TAG=`git describe --tags --exact-match`
if [ $? -ne 0 ]; then
BRANCH_HASH=`git show -s --format='%h'`
VERSION_TAG="commit_${BRANCH_HASH}"
fi
echo $VERSION_TAG
echo "version_tag=$VERSION_TAG" >> "$GITHUB_OUTPUT"
set -e
# build:
# deploy:
# smoke-test:

0 comments on commit e8f9c8b

Please sign in to comment.