Skip to content

Commit 83b2268

Browse files
committed
use short commit sha
1 parent d142bce commit 83b2268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/gen-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: |
4646
LAST_COMMIT_HASH=$(cat last-squid-commit.txt || echo "")
4747
cd squid
48-
CURRENT_COMMIT_HASH=$(git rev-parse HEAD)
48+
CURRENT_COMMIT_HASH=$(git rev-parse --short HEAD)
4949
echo "current=$CURRENT_COMMIT_HASH" >> $GITHUB_OUTPUT
5050
if [ "$LAST_COMMIT_HASH" = "$CURRENT_COMMIT_HASH" -a "$FORCE_REBUILD" != "true" ]; then
5151
echo "marking as no no updates"
@@ -75,7 +75,7 @@ jobs:
7575
- name: Build programming guide
7676
if: steps.check_squid_updates.outputs.had_update == 'true'
7777
run: |
78-
sed -i~ 's/PROJECT_NUMBER = .*/& (commit ${{ steps.check_squid_updates.outputs.current }})/' doxyfile
78+
sed -i~ 's/PROJECT_NUMBER = .*/&-${{ steps.check_squid_updates.outputs.current}}/' doxyfile
7979
doxygen doxyfile
8080
8181
- name: update self

0 commit comments

Comments
 (0)