Skip to content

Commit

Permalink
fix: refresh the publish shell scripts
Browse files Browse the repository at this point in the history
to publish all plugins
  • Loading branch information
2BAB committed Apr 3, 2022
1 parent 23fe512 commit 7be576b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
10 changes: 1 addition & 9 deletions publish.sh
@@ -1,10 +1,2 @@
#!/usr/bin/env bash

# Keep the order as followed one may depend on previous one
MODULE_ARRAY=('koncat-contract' 'koncat-gradle-plugin' 'koncat-processor-api')
for module in "${MODULE_ARRAY[@]}"
do
./gradlew :"$module":publishKoncatArtifactPublicationToSonatypeRepository
done

./gradlew clean publishAllPublicationsToSonatypeRepository
./gradlew releaseArtifactsToGithub
9 changes: 1 addition & 8 deletions publish_to_local.sh
@@ -1,8 +1 @@
#!/usr/bin/env bash

# Keep the order as followed one may depend on previous one
MODULE_ARRAY=('koncat-contract' 'koncat-gradle-plugin' 'koncat-processor-api')
for module in "${MODULE_ARRAY[@]}"
do
./gradlew clean :"$module":publishKoncatArtifactPublicationToMavenLocal
done
./gradlew clean publishToMavenLocal

0 comments on commit 7be576b

Please sign in to comment.