Giter Site home page Giter Site logo

gulp-bump-beta's Introduction

gulp-bump-beta

Gulp plugin to bump beta version property in versioning files

Codacy Badge Build Status npm npm LICENSE Dependabot Status

System Requirements

Installing

  • npm i -D gulp gulp-bump-beta

Usage

  • Create a gulpfile to run your tasks.
const gulp = require("gulp");
const beta = require("gulp-bump-beta");

const paths = { package: "./package.json", manifest: "./manifest.json" };

const bumpBeta = () => {
  return gulp
    .src(Object.values(paths))
    .pipe(beta())
    .pipe(gulp.dest("./"));
};

gulp.task("bump-beta", gulp.series(bumpBeta));
  • run your bump-beta script: gulp bump-beta

Output example

[00:00:00] Using gulpfile ~/git/example/gulpfile.js
[00:00:00] Starting 'bump'...
[00:00:00] Starting 'bumpBeta'...
[00:00:00] Bumped 1.0.0 to 1.0.0-beta.1 with type: beta
[00:00:00] Finished 'bumpBeta' after 26 ms
  • Your project's package.json file should have the new beta version.

License

Copylefted (c) 2019 Henrique Carvalho da Cruz Licensed under the MIT license.

gulp-bump-beta's People

Contributors

azure-pipelines[bot] avatar codacy-badger avatar dependabot-preview[bot] avatar dependabot-support avatar henriquecarv avatar

Watchers

 avatar  avatar

gulp-bump-beta's Issues

Unclear what this package does

@henriquecarv thanks for making this! I've felt that gulp-bump could handle beta versioning a bit better for a while.

I'm not clear on what this package does though. Would it be possible to add example output to the project readme?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.