Skip to content

Commit

Permalink
Fix wrong commit range in AI summaries (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
lava authored Feb 7, 2025
1 parent 0eb6d84 commit aea8058
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-submodules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
GCLOUD_ACCESS_TOKEN: ${{ steps.gcloud-login.outputs.access_token }}
run: |
echo $PROJECT_ID
git submodule update --init components/app
git submodule update --init --no-recommend-shallow components/app
current_sha=$(git -C components/app rev-parse HEAD)
current_sha_short=$(git -C components/app rev-parse --short HEAD)
upstream_sha=$(git -C components/app rev-parse origin/main)
Expand All @@ -100,7 +100,7 @@ jobs:
PROJECT_ID: ${{ steps.gcloud-login.outputs.project_id }}
GCLOUD_ACCESS_TOKEN: ${{ steps.gcloud-login.outputs.access_token }}
run: |
git submodule update --init components/tenant-manager
git submodule update --init --no-recommend-shallow components/tenant-manager
current_sha=$(git -C components/tenant-manager rev-parse HEAD)
current_sha_short=$(git -C components/tenant-manager rev-parse --short HEAD)
upstream_sha=$(git -C components/tenant-manager rev-parse origin/main)
Expand Down
2 changes: 1 addition & 1 deletion scripts/describe-component-bump
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ if [ $? -eq 0 ]; then
else
echo $(git -C ${SUBMODULE_PATH} log --oneline --first-parent --no-decorate ${FROM_COMMIT}..${TO_COMMIT})
fi
echo "\n\nView Changes: https://github.com/tenzir/app/compare/${current_sha}...${upstream_sha}"
echo "View Changes: https://github.com/tenzir/app/compare/${FROM_COMMIT}..${TO_COMMIT}"

0 comments on commit aea8058

Please sign in to comment.