Feature: Add Workflow for Manual Version Bumps

Abierto Apto para principiantes
#933 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
62/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, yaml
Área
ci-cd

Línea de trabajo

La issue proporciona un ejemplo completo para un nuevo .github/workflows/version-bump.yml con una entrada choice de workflow_dispatch y la action taj54/universal-version-bump@v1. Revisa el README de esa action en Marketplace para ver la entrada bump-type y qué archivos de versión edita. Terminado cuando el workflow aparezca en la pestaña Actions con una opción patch/minor/major y una ejecución manual actualice la versión.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Proposed for NaturalIntelligence/fast-xml-parser.

Component

Other

Problem statement

Currently, updating the project version requires manual edits across version files, which increases maintenance overhead and introduces the risk of human error or inconsistent versioning across releases. Maintainers need a standardized, one-click way to trigger semantic version bumps (patch, minor, major) directly from the repository's Actions tab.

Proposed solution

Add a manually triggered (workflow_dispatch) GitHub Actions workflow powered by Universal Version Bump so maintainers can select the bump type directly from the Actions tab.

Example Workflow (.github/workflows/version-bump.yml)
name: Bump Version

on:
  workflow_dispatch:
    inputs:
      bump_type:
        description: "Version bump type (patch, minor, major)"
        required: true
        default: "patch"
        type: choice
        options:
          - patch
          - minor
          - major

permissions:
  contents: write

jobs:
  bump:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Universal Version Bump
        uses: taj54/universal-version-bump@v1
        with:
          bump-type: ${{ inputs.bump_type }}
Acceptance Criteria
  • A workflow is visible in the Actions tab.
  • Maintainers can choose the bump type (patch, minor, major).
  • Running the workflow updates the version automatically using Universal Version Bump.
  • (Optional) Extend the workflow later to include Git tagging + release creation.
Additional context
  • Target Repository: NaturalIntelligence/fast-xml-parser
  • GitHub Marketplace: Universal Version Bump
  • Source Repository: taj54/universal-version-bump
  • Why This Matters: Keeps project versions aligned with development progress, reduces manual overhead, and lays the foundation for future enhancements like automated tagging, changelog updates, and releases.

If you would like, I can open a PR to add this workflow.

Lenguaje dominante
JavaScript
Estrellas
3.1k
Forks
415
Merge medio
4 d 15 h
PR fusionados (30 d)
8

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NaturalIntelligence/fast-xml-parser

Todos los issues de NaturalIntelligence/fast-xml-parser

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.