Skip to content

Commit cd4de09

Browse files
rakeshkashyap123rkashyap
and
rkashyap
authored
Exclude pegasus jars and release version (#913)
* Exclude pegasus jars from final build * Bump down version * Update github workflow Co-authored-by: rkashyap <[email protected]>
1 parent e587042 commit cd4de09

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/publish-to-maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# CI release command defaults to publishSigned
2929
# Sonatype release command defaults to sonaTypeBundleRelease
3030
- name: Gradle publish
31-
if: startsWith(github.head_ref, 'release/v')
31+
if: startsWith(github.head_ref, 'releases/v')
3232
run: gradle clean publish
3333
env:
3434
PGP_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

feathr-config/build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,18 @@ repositories {
1515
}
1616
}
1717

18+
configurations {
19+
provided
20+
21+
compileOnly.extendsFrom(provided)
22+
testImplementation.extendsFrom provided
23+
}
24+
1825
dependencies {
1926
implementation project(":feathr-data-models")
2027
implementation project(path: ':feathr-data-models', configuration: 'dataTemplate')
2128
implementation spec.product.avro
22-
implementation spec.product.pegasus.data
29+
provided spec.product.pegasus.data
2330
implementation spec.product.typesafe_config
2431
implementation spec.product.log4j
2532
implementation spec.product.jsonSchemaVali

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version=v0.10.3-rc5
1+
version=0.10.3-rc6
22
SONATYPE_AUTOMATIC_RELEASE=true
33
POM_ARTIFACT_ID=feathr_2.12

0 commit comments

Comments
 (0)