Skip to content

Commit 75698fa

Browse files
committed
Limit commit characters
1 parent 2b93c69 commit 75698fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
mkdir -p dist/install-data
44

55
cp index.html dist/index.html
6-
sed -i "s|<!-- GIT_SHA -->|$GITHUB_SHA|" dist/index.html
6+
sed -i "s|<!-- GIT_SHA -->|${GITHUB_SHA:0:8}|" dist/index.html
77

88
wget --progress=dot:mega https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-Linux-x86_64.sh -O dist/install-data/Miniforge3-24.3.0-0-Linux-x86_64.sh
99
wget --progress=dot:mega https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-MacOSX-x86_64.sh -O dist/install-data/Miniforge3-24.3.0-0-MacOSX-x86_64.sh

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ <h2>Contribute to Zwik</h2>
175175

176176
<div id="footer">
177177
<div class="inner">
178-
zwik-web <!-- GIT_SHA -->
178+
zwik-web | <!-- GIT_SHA -->
179179
</div>
180180
</div>
181181
</body>

0 commit comments

Comments
 (0)