Skip to content

Commit 71049a2

Browse files
Build preparation for release v2.14.0 (#840)
* bump npm version to v2.13.1 * Built new icons, icomoon.json and devicon.css (#839) Co-authored-by: Thomas-Boi <Thomas-Boi@users.noreply.github.com> * Add a gulp task to bump npm version * bump npm version to v2.14.0 * Add code docs to gulp bumpVersion task Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Thomas-Boi <Thomas-Boi@users.noreply.github.com>
1 parent 63b340c commit 71049a2

32 files changed

+338
-652
lines changed

devicon-base.css

Lines changed: 163 additions & 133 deletions
Large diffs are not rendered by default.

devicon.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fonts/devicon.eot

13.1 KB
Binary file not shown.

fonts/devicon.svg

Lines changed: 130 additions & 120 deletions
Loading

fonts/devicon.ttf

13.1 KB
Binary file not shown.

fonts/devicon.woff

13.1 KB
Binary file not shown.

gulpfile.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const footer = require("gulp-footer");
55
const yargs = require("yargs");
66
const fsPromise = require("fs").promises;
77
const path = require("path");
8+
const {execSync} = require("child_process")
89

910
// global const
1011
const deviconBaseCSSName = "devicon-base.css"
@@ -191,6 +192,22 @@ function configOptionCallback(file) {
191192
};
192193
}
193194

195+
/**
196+
* Bump the NPM version of this project.
197+
* This is called via the command line
198+
* using the format "npm run bump -- -v='MAJOR.MINOR.PATCH'"
199+
* @returns a Promise.resolve()
200+
*/
201+
function bumpVersion() {
202+
let newVersion = yargs.argv.v
203+
let command = `npm version v${newVersion} -m "bump npm version to v${newVersion}"`
204+
console.log("Running command: " + command)
205+
let stdout = execSync(command)
206+
console.log("Command ran. Here's the result:\n" + stdout)
207+
return Promise.resolve()
208+
}
209+
194210
exports.updateCss = createDeviconMinCSS;
195211
exports.clean = cleanUp;
196212
exports.optimizeSvg = optimizeSvg;
213+
exports.bumpVersion = bumpVersion

icomoon.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 39 deletions
Loading

icons/azure/azure-original.svg

Lines changed: 1 addition & 38 deletions
Loading

0 commit comments

Comments
 (0)