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

chore: only attempt to release registry modules if they have actual changes #513

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Jan 19, 2024

Previously the workflows in this repo attempted to release every registry module on every change. Despite the fact that the modules are versioned by an external system and don't change that often.

This PR introduced two additional checks before we attempt to release a package:

  • Has the version changed?
  • Are there any releasable commits?

This should stop most release attempts we are currently making.
Once this has proven successful, we can re-enable the currently disabled Maven releases.

Fixes #376

@cdklabs-automation cdklabs-automation added this pull request to the merge queue Jan 19, 2024
Merged via the queue into main with commit 7dae9cd Jan 19, 2024
185 checks passed
@cdklabs-automation cdklabs-automation added this pull request to the merge queue Jan 19, 2024
@cdklabs-automation cdklabs-automation deleted the mrgrain/chore/stop-the-release-madness branch January 19, 2024 15:43
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to an unknown Git error Jan 19, 2024
mrgrain added a commit that referenced this pull request Jan 19, 2024
We need to look for the releasetag.txt file in the right directory.
github-merge-queue bot pushed a commit that referenced this pull request Jan 19, 2024
We need to look for the releasetag.txt file in the right directory.
mrgrain added a commit that referenced this pull request Jan 19, 2024
- `TAG=cat $(dist/releasetag.txt)` => `TAG=$(cat dist/releasetag.txt)`
- Make artifact easier to debug
- upgrade `cdklabs-projen-project-types` to unbreak the meta release workflow
github-merge-queue bot pushed a commit that referenced this pull request Jan 19, 2024
- `TAG=cat $(dist/releasetag.txt)` => `TAG=$(cat dist/releasetag.txt)`
- Make artifact easier to debug
- upgrade `cdklabs-projen-project-types` to unbreak the meta release workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release only packages that have changed
3 participants