Skip to content

Commit

Permalink
Fix #2414: make Sinon available on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
fatso83 committed Jan 19, 2022
1 parent fabaabd commit 7863e2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/_includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
<p>Released under the <a href="https://opensource.org/licenses/BSD-3-Clause">BSD license</a>.</p>
</div>
</div>


<script src="{{ "/assets/js/sinon.js" | prepend: site.baseurl }}"></script>
3 changes: 3 additions & 0 deletions scripts/postversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ echo 'update changelog'
echo 'build new package'
node ./build.cjs

echo 'copying latest sinon to webpage assets'
cp pkg/sinon.js ./docs/assets/js/

echo 'copy new version'
cp "./pkg/sinon.js" "./docs/releases/sinon-$PACKAGE_VERSION.js"

Expand Down

0 comments on commit 7863e2d

Please sign in to comment.