Skip to content

Commit

Permalink
Feature/snapshotpublish (#224)
Browse files Browse the repository at this point in the history
* Disabled publish to generate POMs

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>

* Disabled publish to generate POMs

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>

* Fix dir structure

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>

* Fix dir structure

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>

* Attempt clean first

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>

---------

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
  • Loading branch information
harshavamsi committed May 17, 2023
1 parent c10d900 commit 354b044
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: publish snapshots to build repositories
run: |
./gradlew -S -Dbuild.snapshot=true -Dorg.gradle.warning.mode=summary distribution --info
./gradlew clean -S -Dbuild.snapshot=true -Dorg.gradle.warning.mode=summary distribution
- name: set required env variables
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ class BuildPlugin implements Plugin<Project> {
// If we are working with a project that has a scala variant (see below), we need to modify the pom's
// artifact id which the publish task does not like (it fails validation when run).
project.getTasks().withType(PublishToMavenRepository) { PublishToMavenRepository m ->
m.enabled = false
m.enabled = true
}

// Configure Scala Variants if present
Expand Down

0 comments on commit 354b044

Please sign in to comment.