
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
@mrbernnz/semantic-release-calver
Advanced tools
Semantic-Release plugin for versioning using CalVer spec.
A plugin for semantic-release that supports Calendar Versioning (CalVer) for automated release management. CalVer uses date-based versioning, making it ideal for projects with frequent releases.
Install the package via npm or yarn:
# Using npm
npm install @mrbernnz/semantic-release-calver --save-dev
# Using yarn
yarn add @mrbernnz/semantic-release-calver --dev
To use semantic-release-calver, configure it as a plugin in your release configuration file (e.g., release.config.js):
module.exports = {
branches: ['main'],
plugins:
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
'@semantic-release/git',
'@semantic-release/npm',
'@mrbernnz/semantic-release-calver'
};
With the configuration above, semantic-release-calver will:
@mrbernnz/semantic-release-calver plugin
A string representing the calculated version (e.g., 2024.01.0).
Example
const calverPlugin = require('@mrbernnz/semantic-release-calver');
const version = calverPlugin.calculateNextVersion({
lastVersion: '2023.12.2'
});
console.log(version); // Outputs: '2024.01.0'
GitHub Actions
Here’s an example workflow to use semantic-release-calver in a GitHub Actions pipeline:
name: Release
on:
push:
branches: - main
jobs:
release:
runs-on: ubuntu-latest
steps: - name: Checkout repository
uses: actions/checkout@v3 - name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16 - name: Install dependencies
run: npm install - name: Run semantic-release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Contributions are welcome to semantic-release-calver! Please follow these steps:
git checkout -b feature/my-feature
git commit -m "Add my feature"
This project is licensed under the MIT License.
FAQs
Semantic-Release plugin for versioning using CalVer spec.
The npm package @mrbernnz/semantic-release-calver receives a total of 3 weekly downloads. As such, @mrbernnz/semantic-release-calver popularity was classified as not popular.
We found that @mrbernnz/semantic-release-calver demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers

Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.

Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.