Skip to content

Commit

Permalink
[build] Fix release versioning (#2815)
Browse files Browse the repository at this point in the history
The way GitHub actions checks out tags checks them out as non-annotated.
  • Loading branch information
PeterJohnson authored Oct 26, 2020
1 parent 0a723a5 commit 1de2a6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import edu.wpi.first.toolchain.*

plugins {
id 'base'
id 'edu.wpi.first.wpilib.versioning.WPILibVersioningPlugin' version '4.0.1'
id 'edu.wpi.first.wpilib.versioning.WPILibVersioningPlugin' version '4.0.2'
id 'edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin' version '2020.2'
id 'edu.wpi.first.NativeUtils' apply false
id 'edu.wpi.first.GradleJni' version '0.10.1'
Expand All @@ -15,10 +15,12 @@ plugins {

if (project.hasProperty('buildServer')) {
wpilibVersioning.buildServerMode = true
wpilibVersioning.useAllTags = true
}

if (project.hasProperty('releaseMode')) {
wpilibVersioning.releaseMode = true
wpilibVersioning.useAllTags = true
}

allprojects {
Expand Down

0 comments on commit 1de2a6d

Please sign in to comment.