Skip to content

Commit

Permalink
Build preparation for release v2.14.0 (#840)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Sep 8, 2021
1 parent 63b340c commit 71049a2
Show file tree
Hide file tree
Showing 32 changed files with 338 additions and 652 deletions.
296 changes: 163 additions & 133 deletions devicon-base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion devicon.min.css

Large diffs are not rendered by default.

Binary file modified fonts/devicon.eot
Binary file not shown.
250 changes: 130 additions & 120 deletions fonts/devicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fonts/devicon.ttf
Binary file not shown.
Binary file modified fonts/devicon.woff
Binary file not shown.
17 changes: 17 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const footer = require("gulp-footer");
const yargs = require("yargs");
const fsPromise = require("fs").promises;
const path = require("path");
const {execSync} = require("child_process")

// global const
const deviconBaseCSSName = "devicon-base.css"
Expand Down Expand Up @@ -191,6 +192,22 @@ function configOptionCallback(file) {
};
}

/**
* Bump the NPM version of this project.
* This is called via the command line
* using the format "npm run bump -- -v='MAJOR.MINOR.PATCH'"
* @returns a Promise.resolve()
*/
function bumpVersion() {
let newVersion = yargs.argv.v
let command = `npm version v${newVersion} -m "bump npm version to v${newVersion}"`
console.log("Running command: " + command)
let stdout = execSync(command)
console.log("Command ran. Here's the result:\n" + stdout)
return Promise.resolve()
}

exports.updateCss = createDeviconMinCSS;
exports.clean = cleanUp;
exports.optimizeSvg = optimizeSvg;
exports.bumpVersion = bumpVersion
2 changes: 1 addition & 1 deletion icomoon.json

Large diffs are not rendered by default.

40 changes: 1 addition & 39 deletions icons/azure/azure-original-wordmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 1 addition & 38 deletions icons/azure/azure-original.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 71049a2

Please sign in to comment.