:spring-release-train-tools


License

License

GroupId

GroupId

io.spring.releasetrain
ArtifactId

ArtifactId

spring-release-train-tools
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

:spring-release-train-tools
:spring-release-train-tools
Project URL

Project URL

https://github.com/spring-io/spring-release-train-tools
Source Code Management

Source Code Management

https://github.com/spring-io/spring-release-train-tools

Download spring-release-train-tools

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Allows validating that the GitHub milestone is setup to be on a valid release date.

For example, this would confirm that 2021-04-22T22:48:47Z was the Thursday after the 3rd Monday of the Month.

$ java io.spring.releasetrain.CheckMilestoneDueOnMain --dueOn "2021-04-22T22:48:47Z" --expectedDayOfWeek THURSDAY --expectedMondayCount 3

You can integrate with GitHub Actions using something like this

github/workflow/spring-releasetrain-milestones.yml
on:
  milestone:
    types: [created, opened, edited]

jobs:
  spring-releasetrain-checks:
    name: Check DueOn is on a Release Date
    runs-on: ubuntu-latest
    steps:
    - name: Dump GitHub context
      env:
        DUE_ON: ${{ github.event.milestone.due_on }}
      run: |
        export TOOL_VERSION=0.1.1
        wget "https://repo.maven.apache.org/maven2/io/spring/releasetrain/spring-release-train-tools/$TOOL_VERSION/spring-release-train-tools-$TOOL_VERSION.jar"
        java -cp "spring-release-train-tools-$TOOL_VERSION.jar" io.spring.releasetrain.CheckMilestoneDueOnMain --dueOn "$DUE_ON" --expectedDayOfWeek THURSDAY --expectedMondayCount 3
io.spring.releasetrain

Spring IO

Versions

Version
0.1.1
0.1.0