File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1818 required : true
1919 default : ' org.acme.fancy.lib'
2020 type : string
21+ email :
22+ description : ' Contact email (CONTRIBUTING.md)'
23+ required : true
24+ 25+ type : string
2126
2227jobs :
2328 migrate_repo_template :
7277 ARTIFACT_NAME_NEW : ${{ inputs.name }}
7378 PACKAGE_OLD : " dev.thriving.oss.java.library.template"
7479 PACKAGE_NEW : ${{ inputs.package }}
80+ INPUT_EMAIL : ${{ inputs.email }}
7581 run : |
7682 echo "GITHUB_REPOSITORY_OLD: $GITHUB_REPOSITORY_OLD"
7783 echo "GITHUB_REPOSITORY_NAME: $GITHUB_REPOSITORY_NAME"
98104 sed -i "s@developerId = \"hartmut-co-uk\"@developerId = \"$GITHUB_ACTOR\"@g" java-library-template/build.gradle.kts
99105 sed -i "s@developerName = \"Hartmut Armbruster\"@developerName = \"Your Name\"@g" java-library-template/build.gradle.kts
100106 sed -i "s@developerOrganization = \"thriving.dev\"@developerOrganization = \"ACME Corporation\"@g" java-library-template/build.gradle.kts
107+ sed -i "s@developerOrganizationUrl = \"https://thriving.dev\"@developerOrganizationUrl = \"https://yourdomain.com\"@g" java-library-template/build.gradle.kts
101108
102109 # gradle module 'java-library-template'
103110 ## rename base folder
@@ -134,6 +141,7 @@ jobs:
134141 # CONTRIBUTING
135142 sed -i "s@$GITHUB_REPOSITORY_OLD@$GITHUB_REPOSITORY@g" CONTRIBUTING.md
136143 sed -i "s@$ARTIFACT_NAME_OLD@$GITHUB_REPOSITORY_NAME@g" CONTRIBUTING.md
144+ sed -i "s/[email protected] /$INPUT_EMAIL/g" CONTRIBUTING.md 137145
138146 # cleanup this very GitHub Actions workflow yml
139147 rm .github/workflows/0.initial.migrate-repo-template.yml
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ object Meta {
1010 const val developerId = " hartmut-co-uk"
1111 const val developerName = " Hartmut Armbruster"
1212 const val developerOrganization = " thriving.dev"
13- const val developerOrganizationUrl = " https://thriving.dev/ "
13+ const val developerOrganizationUrl = " https://thriving.dev"
1414}
1515
1616plugins {
You can’t perform that action at this time.
0 commit comments