Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
gradle: create ci_release release strategy
Browse files Browse the repository at this point in the history
Based on the final release strategy, but allows the repository to be
dirty due to incompatibility with how sub-modules are handled in the
Travis continuous integration setup.
  • Loading branch information
jvff committed Jan 17, 2017
1 parent 489d4bc commit b644a60
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/revision/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.ajoberstar.gradle.git.release.opinion.Strategies

plugins {
id 'org.ajoberstar.grgit' version '1.6.0'
id 'org.ajoberstar.release-opinion' version '1.6.0'
Expand All @@ -24,3 +26,11 @@ model {
}
}
}

release {
versionStrategy Strategies.FINAL.copyWith(
name: 'ci_release',
stages: ['ci_release'] as SortedSet,
allowDirtyRepo: true
)
}
10 changes: 10 additions & 0 deletions libs/halcsclient/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.ajoberstar.gradle.git.release.opinion.Strategies

plugins {
id 'org.ajoberstar.grgit' version '1.6.0'
id 'org.ajoberstar.release-opinion' version '1.6.0'
Expand Down Expand Up @@ -34,3 +36,11 @@ model {
}
}
}

release {
versionStrategy Strategies.FINAL.copyWith(
name: 'ci_release',
stages: ['ci_release'] as SortedSet,
allowDirtyRepo: true
)
}

0 comments on commit b644a60

Please sign in to comment.