Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add build support script to print out the submodule versions required in other submodules #21635

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

jmurret
Copy link
Member

@jmurret jmurret commented Aug 22, 2024

Description

This is used during releases to know which bumps need to be made. Will manually backport to 1.15, 1.17, and 1.18.

Usage:

$ ./build-support/scripts/consul-module-versions-in-consul.sh
Module versions for directory: '.':
--------------
github.com/hashicorp/consul/api v1.29.1 => ./api
add build support script to print out the submodule versions required in other submodules
github.com/hashicorp/consul/envoyextensions v0.7.0 => ./envoyextensions
github.com/hashicorp/consul/proto-public v0.6.1 => ./proto-public
github.com/hashicorp/consul/sdk v0.16.1 => ./sdk
github.com/hashicorp/consul/troubleshoot v0.6.1 => ./troubleshoot
--------------

Module versions for directory: 'api':
--------------
github.com/hashicorp/consul/api
github.com/hashicorp/consul/proto-public v0.6.1 => ../proto-public
github.com/hashicorp/consul/sdk v0.16.1 => ../sdk
--------------

Module versions for directory: 'envoyextensions':
--------------
github.com/hashicorp/consul/envoyextensions
github.com/hashicorp/consul/api v1.29.1 => ../api
github.com/hashicorp/consul/proto-public v0.6.1 => ../proto-public
github.com/hashicorp/consul/sdk v0.16.1 => ../sdk
--------------

Module versions for directory: 'proto-public':
--------------
github.com/hashicorp/consul/proto-public
--------------

Module versions for directory: 'sdk':
--------------
github.com/hashicorp/consul/sdk
--------------

Module versions for directory: 'troubleshoot':
--------------
github.com/hashicorp/consul/troubleshoot
github.com/hashicorp/consul/api v1.29.1 => ../api
github.com/hashicorp/consul/envoyextensions v0.7.0 => ../envoyextensions
github.com/hashicorp/consul/proto-public v0.6.1 => ../proto-public
github.com/hashicorp/consul/sdk v0.16.1 => ../sdk
--------------

@jmurret jmurret added pr/no-changelog PR does not need a corresponding .changelog entry backport/1.19 Changes are backported to 1.19 labels Aug 22, 2024
@jmurret jmurret requested a review from zalimeni August 22, 2024 02:13
Copy link
Member

@zalimeni zalimeni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than usage - thanks for writing this up.

build-support/functions/10-util.sh Outdated Show resolved Hide resolved
@jmurret jmurret enabled auto-merge (squash) August 22, 2024 15:40
@jmurret jmurret merged commit 53c225b into main Aug 22, 2024
91 checks passed
@jmurret jmurret deleted the jm/submodules-script branch August 22, 2024 15:59
jmurret added a commit that referenced this pull request Aug 22, 2024
… in other submodules (#21635)

* add build support script to print out the submodule versions required in other submodules

* update help and usage.  exclude current submodule in output.
jmurret added a commit that referenced this pull request Aug 22, 2024
… in other submodules (#21635)

* add build support script to print out the submodule versions required in other submodules

* update help and usage.  exclude current submodule in output.
jmurret added a commit that referenced this pull request Aug 22, 2024
… in other submodules (#21635)

* add build support script to print out the submodule versions required in other submodules

* update help and usage.  exclude current submodule in output.
jmurret added a commit that referenced this pull request Aug 22, 2024
…ons required in other submodules into release/1.17.x (#21639)

add build support script to print out the submodule versions required in other submodules (#21635)

* add build support script to print out the submodule versions required in other submodules

* update help and usage.  exclude current submodule in output.
jmurret added a commit that referenced this pull request Aug 22, 2024
…ons required in other submodules into release/1.18.x (#21640)

add build support script to print out the submodule versions required in other submodules (#21635)

* add build support script to print out the submodule versions required in other submodules

* update help and usage.  exclude current submodule in output.
jmurret added a commit that referenced this pull request Aug 22, 2024
…ons required in other submodules into release/1.15.x (#21638)

add build support script to print out the submodule versions required in other submodules (#21635)

* add build support script to print out the submodule versions required in other submodules

* update help and usage.  exclude current submodule in output.
philrenaud pushed a commit that referenced this pull request Sep 12, 2024
… in other submodules (#21635)

* add build support script to print out the submodule versions required in other submodules

* update help and usage.  exclude current submodule in output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.19 Changes are backported to 1.19 pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants