Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:

# If image_tag is empty, resolve to the short commit hash of the branch
if [[ -z "$IMAGE_TAG" ]]; then
COMMIT_SHORT=$(gh api "repos/${{ github.repository }}/commits/${BRANCH}" --jq '.sha[:7]')
COMMIT_SHORT=$(gh api "repos/${{ github.repository }}/commits/${BRANCH}" --jq '.sha[:9]')
IMAGE_TAG="$COMMIT_SHORT"
echo "No image tag specified - using short commit hash: $IMAGE_TAG"
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
fi

COMMIT_HASH=$(git rev-parse "$TAG_NAME")
COMMIT_SHORT=$(git rev-parse --short "$TAG_NAME")
COMMIT_SHORT=$(git rev-parse "$TAG_NAME" | cut -c1-9)
RC_DIR="${VERSION}-RC${RC_NUM}"
SRC_TARBALL="apache-texera-${VERSION}-src.tar.gz"
COMPOSE_TARBALL="apache-texera-${VERSION}-docker-compose.tar.gz"
Expand Down
Loading