@corva/fe-dev-helper-cli

0.7.1 • Public • Published

corva-fe-dev-helper-cli

This is a simple CLI that helps with

  • info about latest active branches
  • release/hot fixes
  • releases

Its current goal is to unify our processes. It is very opinionated and supports a single variant workflow.

Requirements to use

Repository should use our auto release config

name: Auto release
on:
  push:
    branches:
      - develop
      - release/[0-9]+.[0-9]+
      - stable/[0-9]+.[0-9]+
  workflow_dispatch:
    inputs:
      release-as:
        description: 'Manually specify new release version'
        required: false

concurrency:
  group: auto-bump-${{ github.ref }}
  cancel-in-progress: true

jobs:
  auto-release:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout source code
        uses: actions/checkout@v4

      - name: Auto release
        uses: corva-ai/gh-actions/core/auto-release@feat/auto-bump-action
        with:
          pr-approver-github-token: ${{ secrets.GH_ACTIONS_AUTOMATION }}
          release-as: ${{ github.event.inputs.release-as }}

Repository should follow our 3envs branching strategy

develop -> create release/X.X -> create stable/X.X repeat

Usage

npx @corva/fe-dev-helper-cli@latest

Contributing

  • checkout from develop (e.g.: git checkout -b feat/TKT-15-my-feature)
  • commit your changes following conventional commits rules
  • create a PR (the name also should follow the same rules)
  • once it's merged - auto version-bump release PR will be created / or existing updated
  • merge the release PR - the new version will be published to NPM

TODO

  • Refactor spaghetti parts, lol
  • Update confirm steps for release assist flow to describe exactly what CLI is going to do, not just release/X.Y - exact versions
  • Add a final confirm step "Open created PRs" that opens all the created PRs, to not have to click on the links
  • Add check that verifies that github actions were actually triggered during the release commands
  • Add tests

Readme

Keywords

Package Sidebar

Install

npm i @corva/fe-dev-helper-cli

Weekly Downloads

2

Version

0.7.1

License

All rights reserved

Unpacked Size

1.03 MB

Total Files

3

Last publish

Collaborators

  • aj8k
  • leonid.khomenko
  • suchov
  • vasyl.skalozub
  • andrii.koval
  • yuliiahryhorchuk
  • mgdskr_corva
  • ruslan.shukiurov
  • maksymozymok
  • kostia.khozhay
  • ryandawson
  • bestfit
  • oleksandr_krupko
  • villeti
  • jordanambra
  • dumavit1
  • antonpyrlyk
  • corva-devops-automation