Skip to content

Commit 7863e2d

Browse files
committed
Fix #2414: make Sinon available on homepage
1 parent fabaabd commit 7863e2d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/_includes/footer.html

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
<p>Released under the <a href="https://opensource.org/licenses/BSD-3-Clause">BSD license</a>.</p>
1111
</div>
1212
</div>
13+
14+
15+
<script src="{{ "/assets/js/sinon.js" | prepend: site.baseurl }}"></script>

scripts/postversion.sh

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ echo 'update changelog'
1515
echo 'build new package'
1616
node ./build.cjs
1717

18+
echo 'copying latest sinon to webpage assets'
19+
cp pkg/sinon.js ./docs/assets/js/
20+
1821
echo 'copy new version'
1922
cp "./pkg/sinon.js" "./docs/releases/sinon-$PACKAGE_VERSION.js"
2023

0 commit comments

Comments
 (0)