0.0.5 • Published 11 months ago

@aneoconsultingfr/generate-next-version v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

generate-next-version

NPM version

Generate next version based on git history, use Conventional Commits.

Feature

  • Generate version on edge
  • Generate version on branch
  • Generate version on release branch

Actions Usage

# .github/workflows/release.yml

name: Release

permissions:
  contents: write

on:
  push:
    tags:
      - 'v*'

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - uses: actions/setup-node@v3
        with:
          node-version: 16.x

      - run: echo "VERSION=$(npx @aneoconsultingfr/generate-next-version@latest)" >> $GITHUB_ENV

It will be trigged whenever you push a tag to GitHub that starts with v.

CLI Usage

npx @aneoconsultingfr/generate-next-version@latest [...args]

Arguments

  • --edge - Generate version on edge
  • --base - Base branch to compare with
  • --language - Language of the project in order to generate next semver
  • --help - Display help message

Preview Locally

npx @aneoconsultingfr/generate-next-version@latest

License

MIT License © 2023 Aneo

0.0.5

11 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

1 year ago

0.0.1

1 year ago