
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
grunt-checkbranch
Advanced tools
Check that we are on a correct Git branch before proceeding.
This plugin requires Grunt ~0.4.1
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-checkbranch --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-checkbranch');
Include the task as one of your multitasks, optionally passing the desired branch (default: master
) after a colon, e.g.:
grunt.registerTask("default", ["test", "checkbranch:develop", "deploy"]
In the example above, the deploy
task will only be executed, if your project is currently on the develop
branch - otherwise the run will result in a fatal error.
You may override this behavior by passing --no-checkbranch
via command line. You can disable --no-checkbranch
(i.e. force the check) by setting a second param for the task, e.g. checkbranch:master:true
.
You may also negate the test, i.e. exclude a specific branch by prepending an exclamation mark, e.g. "checkbranch:!develop"
.
FAQs
Checks that we are on a correct git branch before proceeding.
The npm package grunt-checkbranch receives a total of 12 weekly downloads. As such, grunt-checkbranch popularity was classified as not popular.
We found that grunt-checkbranch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.