
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
gf-release
Advanced tools
gitflow command line release helper - less typing when doing a gitflow release
Install from npm
$ npm i -g gf-release
To start the release, call
$ gf-release [options] [command]
from the root of a gitflow enabled repo
Release ${releaseVersion}
)$ gf-release -h
Commands:
help Display help
Options:
-d, --dry-run only log commands without executing them (disabled by default)
-m, --message enter a custom tag message, if not set it will be "Release [newVersion]"
-n, --no-publish don't prompt for npm publish (disabled by default)
-s, --skip-build skip build before finishing release
-h, --help Output usage information
-v, --version Output the version number
This is the default configuration:
{
versionFiles: ["package.json"],
productionBranchName: "master",
developBranchName: "develop",
upstream: "origin",
commitMessagesExclude: ['Merge tag'],
commitMessagesInclude: [],
buildCommand: null,
historyFile: null
}
versionFiles
: json files that contain a version field which should be bumped when releasingproductionBranchName
/ developBranchName
: self explanatoryupstream
can be changed in case there's an alias set for origin
commitMessagesExclude
: Array of strings, commit messages containing one of the strings won't be included in the HistorycommitMessagesInclude
: Array of strings, only include commit messages in the History that contain one of the strings
commitMessagesInclude
contains one or more strings, the exclude array will be ignoredbuildCommand
: this command will be run before finishing the release, e.g npm run build
historyFile
: if set it will prepend the history between the last release and this one to the file, e.g 'History.md'commitBaseUrl
: e.g. https://github.com/stbaer/gf-release/commit
if set, links will be added to commitsIt can be overwritten by adding a releaseConfig
field to the package.json
.
...
"releaseConfig": {
"versionFiles": ["package.json", "config/version.json"],
"buildCommand": "npm run myBuildScript",
"productionBranchName": "prod",
"developBranchName": "dev",
"upstream": "myOriginAlias"
}
Pull requests should target the develop branch.
For bugs and feature requests, please create an issue.
MIT, see LICENSE.md for details.
FAQs
gitflow release node script
The npm package gf-release receives a total of 1 weekly downloads. As such, gf-release popularity was classified as not popular.
We found that gf-release 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.