Version 2.7.3

This commit is contained in:
Josh Johnson 2017-02-17 09:26:08 +00:00
parent c63d025e96
commit ca33f15504
7 changed files with 531 additions and 364 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{ {
"name": "choices.js", "name": "choices.js",
"version": "2.7.2", "version": "2.7.3",
"description": "A vanilla JS customisable text input/select box plugin", "description": "A vanilla JS customisable text input/select box plugin",
"main": [ "main": [
"./assets/scripts/dist/choices.js", "./assets/scripts/dist/choices.js",

View file

@ -15,7 +15,7 @@
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
<!-- Ignore these --> <!-- Ignore these -->
<link rel="stylesheet" href="assets/styles/css/base.min.css?version=2.7.2"> <link rel="stylesheet" href="assets/styles/css/base.min.css?version=2.7.3">
<!-- End ignore these --> <!-- End ignore these -->
<!-- Optional includes --> <!-- Optional includes -->
@ -23,8 +23,8 @@
<!-- End optional includes --> <!-- End optional includes -->
<!-- Choices includes --> <!-- Choices includes -->
<link rel="stylesheet" href="assets/styles/css/choices.min.css?version=2.7.2"> <link rel="stylesheet" href="assets/styles/css/choices.min.css?version=2.7.3">
<script src="assets/scripts/dist/choices.min.js?version=2.7.2"></script> <script src="assets/scripts/dist/choices.min.js?version=2.7.3"></script>
<!-- End Choices includes --> <!-- End Choices includes -->
<!--[if lt IE 9]> <!--[if lt IE 9]>

View file

@ -1,6 +1,6 @@
{ {
"name": "choices.js", "name": "choices.js",
"version": "2.7.2", "version": "2.7.3",
"description": "A vanilla JS customisable text input/select box plugin", "description": "A vanilla JS customisable text input/select box plugin",
"main": "./assets/scripts/dist/choices.min.js", "main": "./assets/scripts/dist/choices.min.js",
"scripts": { "scripts": {

View file

@ -34,7 +34,7 @@ const updateVersion = (config) => {
const args = argvToObject(); const args = argvToObject();
const currentVersion = args.current; const currentVersion = args.current;
const newVersion = args.new; const newVersion = args.new;
console.log(args); console.log(`Updating version from ${currentVersion} to ${newVersion}`);
config.files.forEach((file) => { config.files.forEach((file) => {
const filePath = path.join(__dirname, file); const filePath = path.join(__dirname, file);
const regex = new RegExp(currentVersion, 'g'); const regex = new RegExp(currentVersion, 'g');