Skip to content

Commit

Permalink
chore: .release-please-manifest.json to have released version
Browse files Browse the repository at this point in the history
Troubleshooting for revealed Release Please's setting snapshot
in the release-please-manifest.json is wrong.
googleapis/release-please#1718
Release Please will fix the root problem. This script follow
the fix.
  • Loading branch information
suztomo committed Oct 26, 2022
1 parent 6295dcc commit 9d621f5
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 145 deletions.
284 changes: 142 additions & 142 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,144 +1,144 @@
{
"gapic-libraries-bom": "0.2.1-SNAPSHOT",
"google-cloud-jar-parent": "0.2.1-SNAPSHOT",
"google-cloud-pom-parent": "0.2.1-SNAPSHOT",
"java-accessapproval": "2.6.1-SNAPSHOT",
"java-accesscontextmanager": "1.6.1-SNAPSHOT",
"java-aiplatform": "3.6.1-SNAPSHOT",
"java-analytics-admin": "0.15.1-SNAPSHOT",
"java-analytics-data": "0.16.1-SNAPSHOT",
"java-analyticshub": "0.2.1-SNAPSHOT",
"java-api-gateway": "2.5.1-SNAPSHOT",
"java-apigee-connect": "2.5.1-SNAPSHOT",
"java-apigee-registry": "0.5.1-SNAPSHOT",
"java-apikeys": "0.3.1-SNAPSHOT",
"java-appengine-admin": "2.5.1-SNAPSHOT",
"java-area120-tables": "0.9.1-SNAPSHOT",
"java-artifact-registry": "1.4.1-SNAPSHOT",
"java-asset": "3.9.1-SNAPSHOT",
"java-assured-workloads": "2.5.1-SNAPSHOT",
"java-automl": "2.5.1-SNAPSHOT",
"java-bare-metal-solution": "0.5.1-SNAPSHOT",
"java-batch": "0.5.1-SNAPSHOT",
"java-beyondcorp-appconnections": "0.3.1-SNAPSHOT",
"java-beyondcorp-appconnectors": "0.3.1-SNAPSHOT",
"java-beyondcorp-appgateways": "0.3.1-SNAPSHOT",
"java-beyondcorp-clientconnectorservices": "0.3.1-SNAPSHOT",
"java-beyondcorp-clientgateways": "0.3.1-SNAPSHOT",
"java-bigqueryconnection": "2.7.1-SNAPSHOT",
"java-bigquery-data-exchange": "2.0.1-SNAPSHOT",
"java-bigquerydatapolicy": "0.2.1-SNAPSHOT",
"java-bigquerydatatransfer": "2.5.1-SNAPSHOT",
"java-bigquerymigration": "0.8.1-SNAPSHOT",
"java-bigqueryreservation": "2.6.1-SNAPSHOT",
"java-billingbudgets": "2.5.1-SNAPSHOT",
"java-billing": "2.5.1-SNAPSHOT",
"java-binary-authorization": "1.4.1-SNAPSHOT",
"java-certificate-manager": "0.8.1-SNAPSHOT",
"java-channel": "3.9.1-SNAPSHOT",
"java-cloudbuild": "3.7.1-SNAPSHOT",
"java-cloudcommerceconsumerprocurement": "0.3.1-SNAPSHOT",
"java-compute": "1.15.1-SNAPSHOT",
"java-contact-center-insights": "2.5.1-SNAPSHOT",
"java-containeranalysis": "2.6.1-SNAPSHOT",
"java-container": "2.8.1-SNAPSHOT",
"java-contentwarehouse": "0.1.1-SNAPSHOT",
"java-datacatalog": "1.11.1-SNAPSHOT",
"java-dataflow": "0.9.1-SNAPSHOT",
"java-dataform": "0.4.1-SNAPSHOT",
"java-data-fusion": "1.5.1-SNAPSHOT",
"java-datalabeling": "0.125.1-SNAPSHOT",
"java-dataplex": "1.3.1-SNAPSHOT",
"java-dataproc-metastore": "2.6.1-SNAPSHOT",
"java-dataproc": "4.2.1-SNAPSHOT",
"java-datastream": "1.4.1-SNAPSHOT",
"java-debugger-client": "1.5.1-SNAPSHOT",
"java-deploy": "1.3.1-SNAPSHOT",
"java-dialogflow-cx": "0.16.1-SNAPSHOT",
"java-dialogflow": "4.11.1-SNAPSHOT",
"java-discoveryengine": "0.1.1-SNAPSHOT",
"java-distributedcloudedge": "0.2.1-SNAPSHOT",
"java-dlp": "3.9.1-SNAPSHOT",
"java-dms": "2.4.1-SNAPSHOT",
"java-dns": "2.3.1-SNAPSHOT",
"java-document-ai": "2.9.1-SNAPSHOT",
"java-domains": "1.2.1-SNAPSHOT",
"java-enterpriseknowledgegraph": "0.1.1-SNAPSHOT",
"java-errorreporting": "0.126.1-beta-SNAPSHOT",
"java-essential-contacts": "2.5.1-SNAPSHOT",
"java-eventarc": "1.5.1-SNAPSHOT",
"java-eventarc-publishing": "0.5.1-SNAPSHOT",
"java-filestore": "1.6.1-SNAPSHOT",
"java-functions": "2.7.1-SNAPSHOT",
"java-game-servers": "2.5.1-SNAPSHOT",
"java-gke-backup": "0.4.1-SNAPSHOT",
"java-gke-connect-gateway": "0.6.1-SNAPSHOT",
"java-gkehub": "1.5.1-SNAPSHOT",
"java-gke-multi-cloud": "0.4.1-SNAPSHOT",
"java-grafeas": "2.6.1-SNAPSHOT",
"java-gsuite-addons": "2.5.1-SNAPSHOT",
"java-iam-admin": "3.0.1-SNAPSHOT",
"java-iamcredentials": "2.5.1-SNAPSHOT",
"java-ids": "1.4.1-SNAPSHOT",
"java-iot": "2.5.1-SNAPSHOT",
"java-kms": "2.8.1-SNAPSHOT",
"java-language": "2.6.1-SNAPSHOT",
"java-life-sciences": "0.7.1-SNAPSHOT",
"java-managed-identities": "1.3.1-SNAPSHOT",
"java-mediatranslation": "0.11.1-SNAPSHOT",
"java-memcache": "2.5.1-SNAPSHOT",
"java-monitoring-dashboards": "2.7.1-SNAPSHOT",
"java-monitoring": "3.6.1-SNAPSHOT",
"java-networkconnectivity": "1.4.1-SNAPSHOT",
"java-network-management": "1.6.1-SNAPSHOT",
"java-network-security": "0.8.1-SNAPSHOT",
"java-notebooks": "1.3.1-SNAPSHOT",
"java-notification": "0.123.22-beta-SNAPSHOT",
"java-optimization": "1.3.1-SNAPSHOT",
"java-orchestration-airflow": "1.5.1-SNAPSHOT",
"java-orgpolicy": "2.5.1-SNAPSHOT",
"java-os-config": "2.7.1-SNAPSHOT",
"java-os-login": "2.4.1-SNAPSHOT",
"java-phishingprotection": "0.36.1-SNAPSHOT",
"java-policy-troubleshooter": "1.4.1-SNAPSHOT",
"java-private-catalog": "0.7.1-SNAPSHOT",
"java-profiler": "2.5.1-SNAPSHOT",
"java-publicca": "0.2.1-SNAPSHOT",
"java-recaptchaenterprise": "3.2.1-SNAPSHOT",
"java-recommendations-ai": "0.12.1-SNAPSHOT",
"java-recommender": "2.7.1-SNAPSHOT",
"java-redis": "2.8.1-SNAPSHOT",
"java-resourcemanager": "1.7.1-SNAPSHOT",
"java-resource-settings": "1.5.1-SNAPSHOT",
"java-retail": "2.7.1-SNAPSHOT",
"java-run": "0.5.1-SNAPSHOT",
"java-scheduler": "2.5.1-SNAPSHOT",
"java-secretmanager": "2.5.1-SNAPSHOT",
"java-securitycenter": "2.13.1-SNAPSHOT",
"java-securitycenter-settings": "0.8.1-SNAPSHOT",
"java-security-private-ca": "2.7.1-SNAPSHOT",
"java-service-control": "1.5.1-SNAPSHOT",
"java-servicedirectory": "2.6.1-SNAPSHOT",
"java-service-management": "3.3.1-SNAPSHOT",
"java-service-usage": "2.5.1-SNAPSHOT",
"java-shell": "2.4.1-SNAPSHOT",
"java-speech": "4.0.1-SNAPSHOT",
"java-storage-transfer": "1.5.1-SNAPSHOT",
"java-talent": "2.6.1-SNAPSHOT",
"java-tasks": "2.5.1-SNAPSHOT",
"java-texttospeech": "2.6.1-SNAPSHOT",
"java-tpu": "2.6.1-SNAPSHOT",
"java-trace": "2.5.1-SNAPSHOT",
"java-translate": "2.5.1-SNAPSHOT",
"java-video-intelligence": "2.4.1-SNAPSHOT",
"java-video-live-stream": "0.7.1-SNAPSHOT",
"java-video-stitcher": "0.5.1-SNAPSHOT",
"java-video-transcoder": "1.4.1-SNAPSHOT",
"java-vision": "3.3.1-SNAPSHOT",
"java-vmmigration": "1.5.1-SNAPSHOT",
"java-vpcaccess": "2.6.1-SNAPSHOT",
"java-webrisk": "2.4.1-SNAPSHOT",
"java-websecurityscanner": "2.5.1-SNAPSHOT",
"java-workflow-executions": "2.5.1-SNAPSHOT",
"java-workflows": "2.5.1-SNAPSHOT"
"gapic-libraries-bom": "0.2.0",
"google-cloud-jar-parent": "0.2.0",
"google-cloud-pom-parent": "0.2.0",
"java-accessapproval": "2.6.0",
"java-accesscontextmanager": "1.6.0",
"java-aiplatform": "3.6.0",
"java-analytics-admin": "0.15.0",
"java-analytics-data": "0.16.0",
"java-analyticshub": "0.2.0",
"java-api-gateway": "2.5.0",
"java-apigee-connect": "2.5.0",
"java-apigee-registry": "0.5.0",
"java-apikeys": "0.3.0",
"java-appengine-admin": "2.5.0",
"java-area120-tables": "0.9.0",
"java-artifact-registry": "1.4.0",
"java-asset": "3.9.0",
"java-assured-workloads": "2.5.0",
"java-automl": "2.5.0",
"java-bare-metal-solution": "0.5.0",
"java-batch": "0.5.0",
"java-beyondcorp-appconnections": "0.3.0",
"java-beyondcorp-appconnectors": "0.3.0",
"java-beyondcorp-appgateways": "0.3.0",
"java-beyondcorp-clientconnectorservices": "0.3.0",
"java-beyondcorp-clientgateways": "0.3.0",
"java-bigqueryconnection": "2.7.0",
"java-bigquery-data-exchange": "2.0.0",
"java-bigquerydatapolicy": "0.2.0",
"java-bigquerydatatransfer": "2.5.0",
"java-bigquerymigration": "0.8.0",
"java-bigqueryreservation": "2.6.0",
"java-billingbudgets": "2.5.0",
"java-billing": "2.5.0",
"java-binary-authorization": "1.4.0",
"java-certificate-manager": "0.8.0",
"java-channel": "3.9.0",
"java-cloudbuild": "3.7.0",
"java-cloudcommerceconsumerprocurement": "0.3.0",
"java-compute": "1.15.0",
"java-contact-center-insights": "2.5.0",
"java-containeranalysis": "2.6.0",
"java-container": "2.8.0",
"java-contentwarehouse": "0.1.0",
"java-datacatalog": "1.11.0",
"java-dataflow": "0.9.0",
"java-dataform": "0.4.0",
"java-data-fusion": "1.5.0",
"java-datalabeling": "0.125.0",
"java-dataplex": "1.3.0",
"java-dataproc-metastore": "2.6.0",
"java-dataproc": "4.2.0",
"java-datastream": "1.4.0",
"java-debugger-client": "1.5.0",
"java-deploy": "1.3.0",
"java-dialogflow-cx": "0.16.0",
"java-dialogflow": "4.11.0",
"java-discoveryengine": "0.1.0",
"java-distributedcloudedge": "0.2.0",
"java-dlp": "3.9.0",
"java-dms": "2.4.0",
"java-dns": "2.3.0",
"java-document-ai": "2.9.0",
"java-domains": "1.2.0",
"java-enterpriseknowledgegraph": "0.1.0",
"java-errorreporting": "0.126.0-beta",
"java-essential-contacts": "2.5.0",
"java-eventarc": "1.5.0",
"java-eventarc-publishing": "0.5.0",
"java-filestore": "1.6.0",
"java-functions": "2.7.0",
"java-game-servers": "2.5.0",
"java-gke-backup": "0.4.0",
"java-gke-connect-gateway": "0.6.0",
"java-gkehub": "1.5.0",
"java-gke-multi-cloud": "0.4.0",
"java-grafeas": "2.6.0",
"java-gsuite-addons": "2.5.0",
"java-iam-admin": "3.0.0",
"java-iamcredentials": "2.5.0",
"java-ids": "1.4.0",
"java-iot": "2.5.0",
"java-kms": "2.8.0",
"java-language": "2.6.0",
"java-life-sciences": "0.7.0",
"java-managed-identities": "1.3.0",
"java-mediatranslation": "0.11.0",
"java-memcache": "2.5.0",
"java-monitoring-dashboards": "2.7.0",
"java-monitoring": "3.6.0",
"java-networkconnectivity": "1.4.0",
"java-network-management": "1.6.0",
"java-network-security": "0.8.0",
"java-notebooks": "1.3.0",
"java-notification": "0.123.20-beta",
"java-optimization": "1.3.0",
"java-orchestration-airflow": "1.5.0",
"java-orgpolicy": "2.5.0",
"java-os-config": "2.7.0",
"java-os-login": "2.4.0",
"java-phishingprotection": "0.36.0",
"java-policy-troubleshooter": "1.4.0",
"java-private-catalog": "0.7.0",
"java-profiler": "2.5.0",
"java-publicca": "0.2.0",
"java-recaptchaenterprise": "3.2.0",
"java-recommendations-ai": "0.12.0",
"java-recommender": "2.7.0",
"java-redis": "2.8.0",
"java-resourcemanager": "1.7.0",
"java-resource-settings": "1.5.0",
"java-retail": "2.7.0",
"java-run": "0.5.0",
"java-scheduler": "2.5.0",
"java-secretmanager": "2.5.0",
"java-securitycenter": "2.13.0",
"java-securitycenter-settings": "0.8.0",
"java-security-private-ca": "2.7.0",
"java-service-control": "1.5.0",
"java-servicedirectory": "2.6.0",
"java-service-management": "3.3.0",
"java-service-usage": "2.5.0",
"java-shell": "2.4.0",
"java-speech": "4.0.0",
"java-storage-transfer": "1.5.0",
"java-talent": "2.6.0",
"java-tasks": "2.5.0",
"java-texttospeech": "2.6.0",
"java-tpu": "2.6.0",
"java-trace": "2.5.0",
"java-translate": "2.5.0",
"java-video-intelligence": "2.4.0",
"java-video-live-stream": "0.7.0",
"java-video-stitcher": "0.5.0",
"java-video-transcoder": "1.4.0",
"java-vision": "3.3.0",
"java-vmmigration": "1.5.0",
"java-vpcaccess": "2.6.0",
"java-webrisk": "2.4.0",
"java-websecurityscanner": "2.5.0",
"java-workflow-executions": "2.5.0",
"java-workflows": "2.5.0"
}
6 changes: 3 additions & 3 deletions generation/generate_release_please_config.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -ex
set -e

GENERATION_DIR=$(dirname -- "$0")

Expand All @@ -26,10 +26,10 @@ for path in $module_list; do
module_line=$(grep -E "^((google-.*|grafeas|gapic\-libraries)).*:[0-9]+\.[0-9]+\.[0-9]+.*:[0-9]+\.[0-9]+\.[0-9]+.*$" "${version_file}")

artifact_name=$(echo "${module_line}" | cut -d ":" -f1)
module_current_version=$(echo "${module_line}" | cut -d ":" -f3)
module_released_version=$(echo "${module_line}" | cut -d ":" -f2)

# concatenating module name and module version
rp_manifest_line="${tab}\"${module_name}\": \"${module_current_version}\""
rp_manifest_line="${tab}\"${module_name}\": \"${module_released_version}\""
# Generate the JSON block with formatting
rp_config_line+="${tab}${tab}\"${module_name}\": {\n${tab}${tab}${tab}\"component\": \"${artifact_name}\"\n${tab}${tab}}"

Expand Down

0 comments on commit 9d621f5

Please sign in to comment.