Skip to content

Comments

Backport of add build support script to print out the submodule versions required in other submodules into release/1.18.x#21640

Merged
jmurret merged 1 commit intorelease/1.18.xfrom
jm/sub-1.18
Aug 22, 2024
Merged

Backport of add build support script to print out the submodule versions required in other submodules into release/1.18.x#21640
jmurret merged 1 commit intorelease/1.18.xfrom
jm/sub-1.18

Conversation

@jmurret
Copy link
Member

@jmurret jmurret commented Aug 22, 2024

Backport

This PR is manual from #21635.

The below text is copied from the body of the original PR.


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
--------------

Overview of commits

… 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 jmurret added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport labels Aug 22, 2024
@jmurret jmurret requested a review from zalimeni August 22, 2024 16:36
@jmurret jmurret enabled auto-merge (squash) August 22, 2024 17:22
@jmurret jmurret merged commit c05bd5f into release/1.18.x Aug 22, 2024
@jmurret jmurret deleted the jm/sub-1.18 branch August 22, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-backport 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