Skip to content

Commit

Permalink
🔖 minor version bump to v5.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
niketpathak committed Oct 8, 2023
1 parent 737e99a commit abf37f0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ body:
- v5.5.0
- v5.6.0
- v5.7.0
- v5.8.0
- Latest
validations:
required: true
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ require('ad-rotator/dist/style.css');
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ad-rotator/dist/style.css" /> <!-- Optional -->

<!-- or with unpkg.com to get a specific version -->
<script src="https://unpkg.com/ad-rotator@5.7.0/dist/ad-rotator.js"></script>
<link rel="stylesheet" href="https://unpkg.com/ad-rotator@5.7.0/dist/style.css" /> <!-- Optional -->
<script src="https://unpkg.com/ad-rotator@5.8.0/dist/ad-rotator.js"></script>
<link rel="stylesheet" href="https://unpkg.com/ad-rotator@5.8.0/dist/style.css" /> <!-- Optional -->

```
The library will be available as a global object at **`window.rotator`**
Expand Down
13 changes: 8 additions & 5 deletions docs/pages/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,23 @@ <h4><a href="#install?id=cdn" id="cdn" title="Install Ad-rotator.js via CDN" cla
<p>The above links, by default, point to the latest version of Ad-rotator.js</p>
</div>
<div class="tab-pane fade" id="nav-unpkg" role="tabpanel" aria-labelledby="nav-unpkg-tab">
<a class="simple-link" href="https://unpkg.com/ad-rotator@5.7.0/dist/ad-rotator.js">
<a class="simple-link" href="https://unpkg.com/ad-rotator@5.8.0/dist/ad-rotator.js">
<img src="./assets/img/logos/unpkg_logo.png" alt="Unpkg Ad-rotator CDN Logo" width="100px">
</a>

<p>Include the <code>Javascript</code></p>
<div class="codeContainer">
<span class="lang">HTML</span>
<span class="copy" title="Copy to Clipboard"><i class="far fa-copy"></i></span>
<pre class="hljs language-html language-xml">&#60;script src="https://unpkg.com/ad-rotator@5.7.0/dist/ad-rotator.js"&#62;&#60;/script&#62;</pre>
<pre
class="hljs language-html language-xml">&#60;script src="https://unpkg.com/ad-rotator@5.8.0/dist/ad-rotator.js"&#62;&#60;/script&#62;</pre>
</div>
<p>Include the <code>CSS</code> (Optional, we recommend to <a href="#styles?id=override-rewrite" class="submenu-link section-link internal-section-link">override the default styling</a>)</p>
<div class="codeContainer">
<span class="lang">HTML</span>
<span class="copy" title="Copy to Clipboard"><i class="far fa-copy"></i></span>
<pre class="hljs language-html language-xml">&#60;link rel="stylesheet" href="https://unpkg.com/ad-rotator@5.7.0/dist/style.css" /&#62;</pre>
<pre
class="hljs language-html language-xml">&#60;link rel="stylesheet" href="https://unpkg.com/ad-rotator@5.8.0/dist/style.css" /&#62;</pre>
</div>
<p>The above links can be used to link to a specific version of Ad-rotator.js</p>
</div>
Expand All @@ -113,10 +115,11 @@ <h4><a href="#install?id=direct-download" id="direct-download" title="Install Ad

<div class="codeContainer">
<span class="copy" title="Copy to Clipboard"><i class="far fa-copy"></i></span>
<pre class="hljs">https://registry.npmjs.org/ad-rotator/-/ad-rotator-5.7.0.tgz</pre>
<pre class="hljs">https://registry.npmjs.org/ad-rotator/-/ad-rotator-5.8.0.tgz</pre>
</div>

where <code>5.7.0</code> refers to the version number. To use another version, replace the version in the above url by the desired version.
where <code>5.8.0</code> refers to the version number. To use another version, replace the version in the above url by
the desired version.
All available versions/releases are listed on <a href="https://github.com/digitalfortress-tech/ad-rotator/releases">github</a>.

The required JS and CSS is located in the <code>dist/</code> folder.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ad-rotator",
"title": "ad-rotator.js",
"description": "A light-weight JS library to rotate advertisements.",
"version": "5.7.0",
"version": "5.8.0",
"homepage": "https://github.com/digitalfortress-tech/ad-rotator",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit abf37f0

Please sign in to comment.