Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.17 KB

File metadata and controls

56 lines (41 loc) · 1.17 KB

Compute Next Version Action

This GitHub action computes the next milestone release name and date.

Inputs

Input Description Required

version

The current project version.

true

token

The token to query repository information (e.g. milestones).

false

repository

The repository to query for information.

false

project-slug

The project slug for the Projects API (https://api.spring.io/projects). Defaults to the repository name with -commercial stripped.

false

projects-api-base

The base URL or filesystem path for the Projects API. Defaults to https://api.spring.io. Use . to read generation metadata from the local projects/ directory.

false

Outputs

Output Description

version

The next project version.

version-date

The scheduled date for the next project version.

version-type

The type of the next project version (for example, 'oss', 'enterprise').

Example Usage

- name: Compute Next Version
  id: next-version
  uses: spring-io/spring-release-actions/compute-next-version@main
  with:
    version: '1.2.3'
    token: ${{ secrets.GITHUB_TOKEN }}