Giter Site home page Giter Site logo

fabiospampinato / vscode-bump Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 2.0 729 KB

Bump your project's version and update the changelog. Opinionated but configurable.

License: MIT License

TypeScript 88.04% JavaScript 11.96%
vscode extension changelog bump version

vscode-bump's Introduction

Bump

This is just a front-end for bump, which you must install on your system. Read its readme to learn how to configure it.

Logo

Bump updates the project's version, updates/creates the changelog, makes the bump commit, tags the bump commit and makes the release to GitHub. Opinionated but configurable.

Install

Follow the instructions in the Marketplace, or run the following in the command palette:

ext install fabiospampinato.vscode-bump

Usage

It adds 6 commands to the command palette:

Bump // Executes `bump`
Bump: Version // Executes `bump version`
Bump: Changelog // Executes `bump changelog`
Bump: Commit // Executes `bump commit`
Bump: Tag // Executes `bump tag`
Bump: Release // Executes `bump release`

Settings

{
  "bump.terminal": false // Execute the bump command in a new terminal
}

Contributing

If you found a problem, or have a feature request, please open an issue about it.

If you want to make a pull request you can debug the extension using Debug Launcher.

License

MIT © Fabio Spampinato

vscode-bump's People

Contributors

fabiospampinato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vscode-bump's Issues

Increment overrides

There should be an option for overriding all other settings in case the version increment is major/minor/path/etc.

This would allow for better customizability.

Template Version [hash7/8]

Hi Fabio
excellent plugin you have made.
I have an Issue about the bump.templates.version with hash7/8.
I.e.
"bump.templates.version": "#[[version]](https://bitbucket.org/MYNAME/commits/[hash8]) ([version_date])"
Should output the correct hash in the link, but it dont do it. In the text is the correct hash. I also tested [hash7] and [hash8].

In the bump.templates.commit it is outputting the correct hash.
"bump.templates.commit": "- [message] ([[hash7]](https://bitbucket.org/MYNAME/commits/[hash7]))"

Is it also possible to check if the bump was a major and then style the template different? So i can add one # in major bump and two # for minor bump and so on?

Thx

Undo Bump

Great work with this extension. Works great. But, is there any way to undo a bump? Thanks.

Message: This repository is not supported, read Bump's readme to learn more about it

I've just installed Bump, did ctrl+shift+p > Bump and got the following error message

This repository is not supported, read Bump's readme to learn more about it

I promise I've read Bump's readme, but it is just not clear to me why my repository is not supported. According to the documentation,

Bump your project's version and update the changelog. Opinionated but configurable.
This extension is here to save you time, this is what it can do for you:

It can bump your project's version.
It can detect which commits where made after the latest bump and update your changelog accordingly.
It can automatically make a commit with the changes made.
It can execute custom scripts before/after bumping/updating-the-changelog/committing.
How the changelog gets rendered and the commit message can be customized.

It automatically detects NPM packages, and can be customized to bump the version in whatever file you need it to.
It currently only works with Git projects.

So, should my repo be a NPM project? It is a git project. What's wrong?

GitHub tokens

There should be some tokens related to GitHub, like:

  • github_owner
  • github_repository

They would allow us to write links relative to our repositories without needing to customize the templates for each single repository.

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.