Skip to content

As a release engineer, I want to use yarn version --prerelease to bump the version instead of manually modifying it #1499

Open
@kittaakos

Description

@kittaakos

Describe the problem

This is a follow-up of #1492. Originally posted here:

In the long run, we should use yarn to generate these pre-release version numbers instead of manually bumping them. Once this is merged, I will create a follow-up with the request.

Ref: https://classic.yarnpkg.com/en/docs/cli/version/#toc-yarn-version-prerelease

To reproduce

See the docs, the version bump is a manual procedure.

Expected behavior

Use yarn to update the version. Preferably, no manual version bump is required.

When on 2.1.0 and building a snapshot or nightly version, yarn should generate the updated version number as part of the build process.

When on 2.1.0 and building a new release: TODO, figure out. The problem could that the build process should commit the updated version. If it works.

Arduino IDE version

8380c82

Operating system

macOS

Operating system version

12.5.1

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions