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

Failing to find the correct latest version #2267

Open
stdavis opened this issue Apr 11, 2024 · 0 comments
Open

Failing to find the correct latest version #2267

stdavis opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@stdavis
Copy link

stdavis commented Apr 11, 2024

When I attempt to update an existing release PR, Release Please is incorrectly marking the unreleased version as the latest version and then adding all of the commits for the entire history to the changelog.

Environment details

  • OS: macOS Sonoma 14.4.1
  • Node.js version: v20.10.0
  • npm version: v10.5.0
  • release-please version: v16.10.1 & main
  • I'm not using any config or manifest files and passing in all options via the cli.

Steps to reproduce

  1. Attempt to update this release PR with the following command:
node build/src/bin/release-please.js release-pr --token "$(gh auth token)" --target-branch dev --release-type simple --release-as v1.2.1-0 --repo-url https://github.com/agrc/release-composite-action --trace --changelog-sections feat,fix,deps,docs,style --dry-run
  1. Notice how it updates the changelog to contain all commits from the repo rather than just the commits since the last release (v1.2.0).
full output
❯ node build/src/bin/release-please.js release-pr --token "$(gh auth token)" --target-branch dev --release-type simple --release-as v1.2.1-0 --repo-url https://github.com/agrc/release-composite-action --trace --changelog-sections feat,fix,deps,docs,style --dry-run
✔ Looking for latest release on branch: dev with prefix: 
❯ Fetching merge commits on branch dev with cursor: undefined
› skipping commit: 405f266653f7ed4b10bf39245652841dd24956df missing merged pull request
❯ Found latest release pull request: 68 version: 1.2.1-0
❯ Fetching releases with cursor undefined
❯ found release for  Version {
  major: 1,
  minor: 2,
  patch: 0,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 7,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 6,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 5,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 4,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 3,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 2,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 1,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 0,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 7,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 7,
  preRelease: '0',
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 6,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 5,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 4,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 3,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 2,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 1,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 0,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found 1 possible releases. [
  Version {
    major: 1,
    minor: 2,
    patch: 1,
    preRelease: '0',
    build: undefined
  }
]
✔ Building pull requests
✔ Building strategies by path
❯ .: simple
✔ Collecting release commit SHAs
❯ release search depth: 400
❯ Fetching releases with cursor undefined
⚠ Expected 1 releases, only found 0
⚠ Missing 1 paths: .
❯ looking for tagName: v1.2.1-0
⚠ Expected 1 releases, only found 0
✔ Collecting commits since all latest releases
❯ commit search depth: 500
❯ Set(0) {}
❯ Fetching merge commits on branch dev with cursor: undefined
❯ Backfilling file list for commit: 405f266653f7ed4b10bf39245652841dd24956df
❯ Found 0 files
❯ Backfilling file list for commit: e616ebfb592c81f17c6142ad80e0320448fe7e4a
❯ Found 1 files
❯ Backfilling file list for commit: 8f1f36f4d0c4b796609c9100eb89eb5ff4759fab
❯ Found 1 files
❯ Backfilling file list for commit: 232cae2c7881e4e9b896f114d068dad825cb1e9b
❯ Found 1 files
❯ Backfilling file list for commit: 7d288efb73cb48335f2b852c04c125adf0367c0b
❯ Found 2 files
❯ Backfilling file list for commit: 8434a0dcbf19f24bf4bcc3d96fa6f3a8ed7372b6
❯ Found 1 files
❯ Backfilling file list for commit: 39a78bdaa19bf5fd7cc9ab7d4c9750b0a1df8763
❯ Found 1 files
❯ Backfilling file list for commit: 2be5c8d6cf95f1c8de4d85865b513f529ecd6e36
❯ Found 2 files
❯ Backfilling file list for commit: 9b29e2df39cb82634f254698ca3eac5a38f6e9c2
❯ Found 2 files
❯ Backfilling file list for commit: 80eb941e09b2fc991aef0e2e47b5d5be15d18ed1
❯ Found 1 files
❯ Backfilling file list for commit: 3fda8ed9d4921d9ff6b87efdc42be0dd21de1bc2
❯ Found 1 files
❯ Backfilling file list for commit: 6cd87158f922b8a0b6d789bdedacf6e4bca27e99
❯ Found 1 files
❯ Backfilling file list for commit: c9d7543d8672bc8c62f92df921be6d45a6bc9cdc
❯ Found 1 files
❯ Backfilling file list for commit: 77a1c9c5750e37c1b714788d0b5e9c2a354f2135
❯ Found 1 files
❯ Backfilling file list for commit: aeadd695932d82841c6a4879d8cb8395e4092742
❯ Found 1 files
❯ Fetching merge commits on branch dev with cursor: 405f266653f7ed4b10bf39245652841dd24956df 24
❯ Backfilling file list for commit: 0eabf708f4228e6cd008e52fbb7a1ff5d62b5c71
❯ Found 2 files
❯ Backfilling file list for commit: 8afda3eacd6b952bb7d21dd05ef9939d3a57276d
❯ Found 1 files
❯ Backfilling file list for commit: e7afd71a88e54812d56bdc17a1b4ace1e2bc8c04
❯ Found 1 files
❯ Backfilling file list for commit: 768ed1549026a1a7597ab6e3b5b443c1135fd5e6
❯ Found 1 files
❯ Backfilling file list for commit: 258ae682033073e283896a5e93131d4d137a5018
❯ Found 1 files
❯ Backfilling file list for commit: 6420543d9f1cb1f81070a7a0a66f171f0549a52b
❯ Found 1 files
❯ Backfilling file list for commit: 11378bded0168101866169369a4cb4350c36a67a
❯ Found 1 files
❯ Backfilling file list for commit: 5c831d01cd7488c72d0e5a5a49e49db6f2902f73
❯ Found 2 files
❯ Backfilling file list for commit: 2a9a767271f73150c55d4fee758359a0cd5e7b28
❯ Found 1 files
❯ Backfilling file list for commit: a26a449590a5fa55804a4dacd803d65a4d988628
❯ Found 1 files
❯ Backfilling file list for commit: 2d0f6d916fedd8c5373bc6f542f459679a8fb41e
❯ Found 1 files
❯ Backfilling file list for commit: 5ebb61a4b29591103259a1648c0a2f3c55181d06
❯ Found 1 files
❯ Backfilling file list for commit: 8cfa63b9a9a41b982f9a349c00e7a371d99e12a6
❯ Found 1 files
❯ Backfilling file list for commit: ba0002ba00b2e7f85e7dfa67433d8edc675a04d0
❯ Found 1 files
❯ Backfilling file list for commit: d359994dc513329b3ae865736deb7dbbd2792709
❯ Found 1 files
❯ Backfilling file list for commit: 189be88a868e2ba402be5aff1aa26f78d093f176
❯ Found 1 files
❯ Fetching merge commits on branch dev with cursor: 405f266653f7ed4b10bf39245652841dd24956df 49
❯ Backfilling file list for commit: e030b355032ff23ceee5b18768cebabdc6e84106
❯ Found 1 files
❯ Backfilling file list for commit: efde0f30c72a562401aa281bf80f55392695a40a
❯ Found 1 files
❯ Backfilling file list for commit: 9fb9cd167de67eb91c038631cfa2ac7592cae34a
❯ Found 1 files
❯ Backfilling file list for commit: 7735059e9e1a1085179c6a113759c302fe91ec00
❯ Found 1 files
❯ Backfilling file list for commit: d8ddf1e2531a26cd51836dff6060fbbc68be170e
❯ Found 1 files
❯ Backfilling file list for commit: 635c6e70cfd4ce908f8779bb9faab92e2bcc43a7
❯ Found 1 files
❯ Backfilling file list for commit: fbb5d25e070cb450db1558f803e44409938f09ae
❯ Found 1 files
❯ Backfilling file list for commit: 22123754d85aed0c78b7e0ace880abd30b883c68
❯ Found 1 files
❯ Backfilling file list for commit: f2f6007a48a4742ccc033dd7829434c3f9fa8f4f
❯ Found 1 files
❯ Backfilling file list for commit: 0622a7d0d7116e1e9f64cd00ab290cc01366a369
❯ Found 4 files
❯ Backfilling file list for commit: cfa426366e25181dd50a3afed38787e4c055c29f
❯ Found 1 files
❯ Backfilling file list for commit: e75225f2f84c775827884e899e18cb97205b3031
❯ Found 1 files
❯ Backfilling file list for commit: e811a0c5c401328b659fbb323492fb5433b10399
❯ Found 1 files
❯ Backfilling file list for commit: da02605b87715f7a01bf5fb2fc1c42e219a4b50c
❯ Found 1 files
❯ Backfilling file list for commit: 5a54aa65174da6b231aafd473d99ed7bbe4f49bd
❯ Found 1 files
❯ Backfilling file list for commit: fbada4e44194a67df6131f7ea582d53656edaa2e
❯ Found 2 files
❯ Backfilling file list for commit: eae0e3de01fb7da97b993951f5a5ef7a891478b9
❯ Found 1 files
❯ Backfilling file list for commit: 9219661da41ff66b455d976b8ad179271890de3e
❯ Found 1 files
❯ Backfilling file list for commit: cd8707f9b2f432c3bd422276cddd0be9f49a3145
❯ Found 2 files
❯ Backfilling file list for commit: ab40feda85d44926767181db6edfa8cedf968dcb
❯ Found 2 files
✔ Splitting 73 commits by path
✔ No latest release found for path: ., component: , but a previous version (1.2.1-0) was specified in the manifest.
✔ Building candidate release pull request for path: .
❯ type: simple
❯ targetBranch: dev
❯ commit could not be parsed: 7735059e9e1a1085179c6a113759c302fe91ec00 Revert "fix: only enable auto merge on pull request"
❯ commit could not be parsed: ab40feda85d44926767181db6edfa8cedf968dcb Initial commit
❯ commits: 74
⚠ No latest release pull request found.
✔ Considering: 74 commits
⚠ Setting version for . from release-as configuration
❯ component: 
❯ pull request title pattern: undefined
Would open 1 pull requests
fork: false
title: chore(dev): release 1.2.1-0
branch: release-please--branches--dev
draft: false
body: :robot: I have created a release *beep* *boop*
---


## [1.2.1-0](https://github.com/agrc/release-composite-action/compare/v1.2.1-0...v1.2.1-0) (2024-04-11)


### Features

* add extra-files parameter ([49739a4](https://github.com/agrc/release-composite-action/commit/49739a41e39335cdab545ba1eb4fd0a2a8990a77))
* add release workflow ([e811a0c](https://github.com/agrc/release-composite-action/commit/e811a0c5c401328b659fbb323492fb5433b10399))
* add release-type input parameter ([0622a7d](https://github.com/agrc/release-composite-action/commit/0622a7d0d7116e1e9f64cd00ab290cc01366a369))
* add service now deployment notification job step ([6420543](https://github.com/agrc/release-composite-action/commit/6420543d9f1cb1f81070a7a0a66f171f0549a52b))
* another test feature ([405f266](https://github.com/agrc/release-composite-action/commit/405f266653f7ed4b10bf39245652841dd24956df))
* enable auto-merge on release PRs ([fbada4e](https://github.com/agrc/release-composite-action/commit/fbada4e44194a67df6131f7ea582d53656edaa2e))
* keep dev in sync with main after release ([5a54aa6](https://github.com/agrc/release-composite-action/commit/5a54aa65174da6b231aafd473d99ed7bbe4f49bd))


### Bug Fixes

* add missing } ([768ed15](https://github.com/agrc/release-composite-action/commit/768ed1549026a1a7597ab6e3b5b443c1135fd5e6))
* add some prunes ([c9d7543](https://github.com/agrc/release-composite-action/commit/c9d7543d8672bc8c62f92df921be6d45a6bc9cdc))
* checkout code before using itself ([e75225f](https://github.com/agrc/release-composite-action/commit/e75225f2f84c775827884e899e18cb97205b3031))
* composite actions don't have access to secrets ([9219661](https://github.com/agrc/release-composite-action/commit/9219661da41ff66b455d976b8ad179271890de3e))
* correct context property name ([189be88](https://github.com/agrc/release-composite-action/commit/189be88a868e2ba402be5aff1aa26f78d093f176))
* correct git commands ([ba0002b](https://github.com/agrc/release-composite-action/commit/ba0002ba00b2e7f85e7dfa67433d8edc675a04d0))
* correct github commands ([8cfa63b](https://github.com/agrc/release-composite-action/commit/8cfa63b9a9a41b982f9a349c00e7a371d99e12a6))
* correct if branch to create tags ([5ebb61a](https://github.com/agrc/release-composite-action/commit/5ebb61a4b29591103259a1648c0a2f3c55181d06))
* explicitily set upstream branch ([88b7f33](https://github.com/agrc/release-composite-action/commit/88b7f33dd8cc8b55811b7ff82ec4ecbc00ab78a7))
* fix rebase commands for bringing dev back up to date ([e829a60](https://github.com/agrc/release-composite-action/commit/e829a606de079ef6d6d9c0fe8751a2687bbafacf))
* only enable auto merge on pull request ([635c6e7](https://github.com/agrc/release-composite-action/commit/635c6e70cfd4ce908f8779bb9faab92e2bcc43a7))
* pass all required params to service now action ([61f7ca5](https://github.com/agrc/release-composite-action/commit/61f7ca5a710a969509380343e6e093e161a96b5a))
* point at v1 of get-next-version ([eae0e3d](https://github.com/agrc/release-composite-action/commit/eae0e3de01fb7da97b993951f5a5ef7a891478b9))
* pull again ([77a1c9c](https://github.com/agrc/release-composite-action/commit/77a1c9c5750e37c1b714788d0b5e9c2a354f2135))
* remove auto merge ([d359994](https://github.com/agrc/release-composite-action/commit/d359994dc513329b3ae865736deb7dbbd2792709))
* remove git stuff because we're not smart enough to use it ([6cd8715](https://github.com/agrc/release-composite-action/commit/6cd87158f922b8a0b6d789bdedacf6e4bca27e99))
* remove header ([e616ebf](https://github.com/agrc/release-composite-action/commit/e616ebfb592c81f17c6142ad80e0320448fe7e4a))
* remove service now step ([0eabf70](https://github.com/agrc/release-composite-action/commit/0eabf708f4228e6cd008e52fbb7a1ff5d62b5c71))
* remove step that can only run on pull_request trigger ([9fb9cd1](https://github.com/agrc/release-composite-action/commit/9fb9cd167de67eb91c038631cfa2ac7592cae34a))
* simplify input names ([da02605](https://github.com/agrc/release-composite-action/commit/da02605b87715f7a01bf5fb2fc1c42e219a4b50c))
* switch to release please cli rather than action ([7d288ef](https://github.com/agrc/release-composite-action/commit/7d288efb73cb48335f2b852c04c125adf0367c0b)), closes [#48](https://github.com/agrc/release-composite-action/issues/48)
* try to fix git commands ([a26a449](https://github.com/agrc/release-composite-action/commit/a26a449590a5fa55804a4dacd803d65a4d988628))


### Documentation

* add link to angular commit standard ([aeadd69](https://github.com/agrc/release-composite-action/commit/aeadd695932d82841c6a4879d8cb8395e4092742))
* add service now secrets to the example ([11378bd](https://github.com/agrc/release-composite-action/commit/11378bded0168101866169369a4cb4350c36a67a))
* add status badge ([2a9a767](https://github.com/agrc/release-composite-action/commit/2a9a767271f73150c55d4fee758359a0cd5e7b28))
* better concurrency group example ([232cae2](https://github.com/agrc/release-composite-action/commit/232cae2c7881e4e9b896f114d068dad825cb1e9b))
* correct example ([2d0f6d9](https://github.com/agrc/release-composite-action/commit/2d0f6d916fedd8c5373bc6f542f459679a8fb41e))
* point at v1 ([e7afd71](https://github.com/agrc/release-composite-action/commit/e7afd71a88e54812d56bdc17a1b4ace1e2bc8c04))
* show usage ([2212375](https://github.com/agrc/release-composite-action/commit/22123754d85aed0c78b7e0ace880abd30b883c68))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
updates: 3
❯ Fetching CHANGELOG.md from branch dev
❯ Fetching version.txt from branch dev
❯ Fetching .release-please-manifest.json from branch dev
⚠ file .release-please-manifest.json did not exist
  CHANGELOG.md:  [class Changelog extends DefaultUpdater]
Index: CHANGELOG.md
===================================================================
--- CHANGELOG.md
+++ CHANGELOG.md
@@ -1,6 +1,56 @@
 # Changelog
 
+## [1.2.1-0](https://github.com/agrc/release-composite-action/compare/v1.2.1-0...v1.2.1-0) (2024-04-11)
+
+
+### Features
+
+* add extra-files parameter ([49739a4](https://github.com/agrc/release-composite-action/commit/49739a41e39335cdab545ba1eb4fd0a2a8990a77))
+* add release workflow ([e811a0c](https://github.com/agrc/release-composite-action/commit/e811a0c5c401328b659fbb323492fb5433b10399))
+* add release-type input parameter ([0622a7d](https://github.com/agrc/release-composite-action/commit/0622a7d0d7116e1e9f64cd00ab290cc01366a369))
+* add service now deployment notification job step ([6420543](https://github.com/agrc/release-composite-action/commit/6420543d9f1cb1f81070a7a0a66f171f0549a52b))
+* another test feature ([405f266](https://github.com/agrc/release-composite-action/commit/405f266653f7ed4b10bf39245652841dd24956df))
+* enable auto-merge on release PRs ([fbada4e](https://github.com/agrc/release-composite-action/commit/fbada4e44194a67df6131f7ea582d53656edaa2e))
+* keep dev in sync with main after release ([5a54aa6](https://github.com/agrc/release-composite-action/commit/5a54aa65174da6b231aafd473d99ed7bbe4f49bd))
+
+
+### Bug Fixes
+
+* add missing } ([768ed15](https://github.com/agrc/release-composite-action/commit/768ed1549026a1a7597ab6e3b5b443c1135fd5e6))
+* add some prunes ([c9d7543](https://github.com/agrc/release-composite-action/commit/c9d7543d8672bc8c62f92df921be6d45a6bc9cdc))
+* checkout code before using itself ([e75225f](https://github.com/agrc/release-composite-action/commit/e75225f2f84c775827884e899e18cb97205b3031))
+* composite actions don't have access to secrets ([9219661](https://github.com/agrc/release-composite-action/commit/9219661da41ff66b455d976b8ad179271890de3e))
+* correct context property name ([189be88](https://github.com/agrc/release-composite-action/commit/189be88a868e2ba402be5aff1aa26f78d093f176))
+* correct git commands ([ba0002b](https://github.com/agrc/release-composite-action/commit/ba0002ba00b2e7f85e7dfa67433d8edc675a04d0))
+* correct github commands ([8cfa63b](https://github.com/agrc/release-composite-action/commit/8cfa63b9a9a41b982f9a349c00e7a371d99e12a6))
+* correct if branch to create tags ([5ebb61a](https://github.com/agrc/release-composite-action/commit/5ebb61a4b29591103259a1648c0a2f3c55181d06))
+* explicitily set upstream branch ([88b7f33](https://github.com/agrc/release-composite-action/commit/88b7f33dd8cc8b55811b7ff82ec4ecbc00ab78a7))
+* fix rebase commands for bringing dev back up to date ([e829a60](https://github.com/agrc/release-composite-action/commit/e829a606de079ef6d6d9c0fe8751a2687bbafacf))
+* only enable auto merge on pull request ([635c6e7](https://github.com/agrc/release-composite-action/commit/635c6e70cfd4ce908f8779bb9faab92e2bcc43a7))
+* pass all required params to service now action ([61f7ca5](https://github.com/agrc/release-composite-action/commit/61f7ca5a710a969509380343e6e093e161a96b5a))
+* point at v1 of get-next-version ([eae0e3d](https://github.com/agrc/release-composite-action/commit/eae0e3de01fb7da97b993951f5a5ef7a891478b9))
+* pull again ([77a1c9c](https://github.com/agrc/release-composite-action/commit/77a1c9c5750e37c1b714788d0b5e9c2a354f2135))
+* remove auto merge ([d359994](https://github.com/agrc/release-composite-action/commit/d359994dc513329b3ae865736deb7dbbd2792709))
+* remove git stuff because we're not smart enough to use it ([6cd8715](https://github.com/agrc/release-composite-action/commit/6cd87158f922b8a0b6d789bdedacf6e4bca27e99))
+* remove header ([e616ebf](https://github.com/agrc/release-composite-action/commit/e616ebfb592c81f17c6142ad80e0320448fe7e4a))
+* remove service now step ([0eabf70](https://github.com/agrc/release-composite-action/commit/0eabf708f4228e6cd008e52fbb7a1ff5d62b5c71))
+* remove step that can only run on pull_request trigger ([9fb9cd1](https://github.com/agrc/release-composite-action/commit/9fb9cd167de67eb91c038631cfa2ac7592cae34a))
+* simplify input names ([da02605](https://github.com/agrc/release-composite-action/commit/da02605b87715f7a01bf5fb2fc1c42e219a4b50c))
+* switch to release please cli rather than action ([7d288ef](https://github.com/agrc/release-composite-action/commit/7d288efb73cb48335f2b852c04c125adf0367c0b)), closes [#48](https://github.com/agrc/release-composite-action/issues/48)
+* try to fix git commands ([a26a449](https://github.com/agrc/release-composite-action/commit/a26a449590a5fa55804a4dacd803d65a4d988628))
+
+
+### Documentation
+
+* add link to angular commit standard ([aeadd69](https://github.com/agrc/release-composite-action/commit/aeadd695932d82841c6a4879d8cb8395e4092742))
+* add service now secrets to the example ([11378bd](https://github.com/agrc/release-composite-action/commit/11378bded0168101866169369a4cb4350c36a67a))
+* add status badge ([2a9a767](https://github.com/agrc/release-composite-action/commit/2a9a767271f73150c55d4fee758359a0cd5e7b28))
+* better concurrency group example ([232cae2](https://github.com/agrc/release-composite-action/commit/232cae2c7881e4e9b896f114d068dad825cb1e9b))
+* correct example ([2d0f6d9](https://github.com/agrc/release-composite-action/commit/2d0f6d916fedd8c5373bc6f542f459679a8fb41e))
+* point at v1 ([e7afd71](https://github.com/agrc/release-composite-action/commit/e7afd71a88e54812d56bdc17a1b4ace1e2bc8c04))
+* show usage ([2212375](https://github.com/agrc/release-composite-action/commit/22123754d85aed0c78b7e0ace880abd30b883c68))
+
 ## [1.2.0](https://github.com/agrc/release-composite-action/compare/v1.1.7...v1.2.0) (2023-02-27)
 
 
 ### 🚀 Features

  version.txt:  [class DefaultUpdater]
Index: version.txt
===================================================================
--- version.txt
+++ version.txt
@@ -1,1 +1,1 @@
-1.2.0
+1.2.1-0

  .release-please-manifest.json:  [class ReleasePleaseManifest extends DefaultUpdater]
no change found for .release-please-manifest.json
(base) 

Proposed Fix

After debugging the issue, I was able to fix it via this commit.

Here's the output after the fix
node build/src/bin/release-please.js release-pr --token "$(gh auth token)" --target-branch dev --release-type simple --release-as v1.2.1-0 --repo-url https://github.com/agrc/release-composite-action --trace --changelog-sections feat,fix,deps,docs,style --dry-run
✔ Looking for latest release on branch: dev with prefix: 
❯ Fetching merge commits on branch dev with cursor: undefined
› skipping commit: 405f266653f7ed4b10bf39245652841dd24956df missing merged pull request
› skipping commit: e616ebfb592c81f17c6142ad80e0320448fe7e4a missing merged pull request
› skipping commit: 8f1f36f4d0c4b796609c9100eb89eb5ff4759fab missing merged pull request
› skipping commit: 232cae2c7881e4e9b896f114d068dad825cb1e9b missing merged pull request
› skipping commit: 7d288efb73cb48335f2b852c04c125adf0367c0b missing merged pull request
› skipping commit: 8434a0dcbf19f24bf4bcc3d96fa6f3a8ed7372b6 missing merged pull request
› skipping commit: f0002d6061d0c8f971f528c97dccf0ce951a6ad8 unrecognized branch name: dependabot/github_actions/ci-dependencies-bd6203b497
› skipping commit: 39a78bdaa19bf5fd7cc9ab7d4c9750b0a1df8763 missing merged pull request
› skipping commit: 2be5c8d6cf95f1c8de4d85865b513f529ecd6e36 unrecognized branch name: dependabot/github_actions/ci-dependencies-6a973cfb69
› skipping commit: 9b29e2df39cb82634f254698ca3eac5a38f6e9c2 unrecognized branch name: dependabot/github_actions/ci-dependencies-6a973cfb69
› skipping commit: 80eb941e09b2fc991aef0e2e47b5d5be15d18ed1 missing merged pull request
› skipping commit: 3fda8ed9d4921d9ff6b87efdc42be0dd21de1bc2 missing merged pull request
❯ Found latest release pull request: 40 version: 1.2.0
❯ Fetching releases with cursor undefined
❯ found release for  Version {
  major: 1,
  minor: 2,
  patch: 0,
  preRelease: undefined,
  build: undefined
}
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 7,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 6,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 5,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 4,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 3,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 2,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 1,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 1,
  patch: 0,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 7,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 7,
  preRelease: '0',
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 6,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 5,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 4,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 3,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 2,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 1,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found release for  Version {
  major: 1,
  minor: 0,
  patch: 0,
  preRelease: undefined,
  build: undefined
}
❯ SHA not found in recent commits to branch dev, skipping
❯ found 2 possible releases. [
  Version {
    major: 1,
    minor: 2,
    patch: 0,
    preRelease: undefined,
    build: undefined
  },
  Version {
    major: 1,
    minor: 2,
    patch: 0,
    preRelease: undefined,
    build: undefined
  }
]
✔ Building pull requests
✔ Building strategies by path
❯ .: simple
✔ Collecting release commit SHAs
❯ release search depth: 400
❯ Fetching releases with cursor undefined
❯ Found release for path ., v1.2.0
❯ release for path: ., version: 1.2.0, sha: 19f7e01ad22b36a985f8c22c7cd5da5c8638c029
✔ Collecting commits since all latest releases
❯ commit search depth: 500
❯ Set(1) { '19f7e01ad22b36a985f8c22c7cd5da5c8638c029' }
❯ Fetching merge commits on branch dev with cursor: undefined
❯ Backfilling file list for commit: 405f266653f7ed4b10bf39245652841dd24956df
❯ Found 0 files
❯ Backfilling file list for commit: e616ebfb592c81f17c6142ad80e0320448fe7e4a
❯ Found 1 files
❯ Backfilling file list for commit: 8f1f36f4d0c4b796609c9100eb89eb5ff4759fab
❯ Found 1 files
❯ Backfilling file list for commit: 232cae2c7881e4e9b896f114d068dad825cb1e9b
❯ Found 1 files
❯ Backfilling file list for commit: 7d288efb73cb48335f2b852c04c125adf0367c0b
❯ Found 2 files
❯ Backfilling file list for commit: 8434a0dcbf19f24bf4bcc3d96fa6f3a8ed7372b6
❯ Found 1 files
❯ Backfilling file list for commit: 39a78bdaa19bf5fd7cc9ab7d4c9750b0a1df8763
❯ Found 1 files
❯ Backfilling file list for commit: 2be5c8d6cf95f1c8de4d85865b513f529ecd6e36
❯ Found 2 files
❯ Backfilling file list for commit: 9b29e2df39cb82634f254698ca3eac5a38f6e9c2
❯ Found 2 files
❯ Backfilling file list for commit: 80eb941e09b2fc991aef0e2e47b5d5be15d18ed1
❯ Found 1 files
❯ Backfilling file list for commit: 3fda8ed9d4921d9ff6b87efdc42be0dd21de1bc2
❯ Found 1 files
❯ Backfilling file list for commit: 6cd87158f922b8a0b6d789bdedacf6e4bca27e99
❯ Found 1 files
❯ Backfilling file list for commit: c9d7543d8672bc8c62f92df921be6d45a6bc9cdc
❯ Found 1 files
❯ Backfilling file list for commit: 77a1c9c5750e37c1b714788d0b5e9c2a354f2135
❯ Found 1 files
❯ Backfilling file list for commit: aeadd695932d82841c6a4879d8cb8395e4092742
❯ Found 1 files
✔ Splitting 12 commits by path
✔ Building candidate release pull request for path: .
❯ type: simple
❯ targetBranch: dev
❯ commits: 14
✔ Considering: 14 commits
⚠ Setting version for . from release-as configuration
❯ component: 
❯ pull request title pattern: undefined
Would open 1 pull requests
fork: false
title: chore(dev): release 1.2.1-0
branch: release-please--branches--dev
draft: false
body: :robot: I have created a release *beep* *boop*
---


## [1.2.1-0](https://github.com/agrc/release-composite-action/compare/v1.2.0...v1.2.1-0) (2024-04-11)


### Features

* another test feature ([405f266](https://github.com/agrc/release-composite-action/commit/405f266653f7ed4b10bf39245652841dd24956df))


### Bug Fixes

* remove header ([e616ebf](https://github.com/agrc/release-composite-action/commit/e616ebfb592c81f17c6142ad80e0320448fe7e4a))
* switch to release please cli rather than action ([7d288ef](https://github.com/agrc/release-composite-action/commit/7d288efb73cb48335f2b852c04c125adf0367c0b)), closes [#48](https://github.com/agrc/release-composite-action/issues/48)


### Documentation

* better concurrency group example ([232cae2](https://github.com/agrc/release-composite-action/commit/232cae2c7881e4e9b896f114d068dad825cb1e9b))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
updates: 3
❯ Fetching CHANGELOG.md from branch dev
❯ Fetching version.txt from branch dev
❯ Fetching .release-please-manifest.json from branch dev
⚠ file .release-please-manifest.json did not exist
  CHANGELOG.md:  [class Changelog extends DefaultUpdater]
Index: CHANGELOG.md
===================================================================
--- CHANGELOG.md
+++ CHANGELOG.md
@@ -1,6 +1,24 @@
 # Changelog
 
+## [1.2.1-0](https://github.com/agrc/release-composite-action/compare/v1.2.0...v1.2.1-0) (2024-04-11)
+
+
+### Features
+
+* another test feature ([405f266](https://github.com/agrc/release-composite-action/commit/405f266653f7ed4b10bf39245652841dd24956df))
+
+
+### Bug Fixes
+
+* remove header ([e616ebf](https://github.com/agrc/release-composite-action/commit/e616ebfb592c81f17c6142ad80e0320448fe7e4a))
+* switch to release please cli rather than action ([7d288ef](https://github.com/agrc/release-composite-action/commit/7d288efb73cb48335f2b852c04c125adf0367c0b)), closes [#48](https://github.com/agrc/release-composite-action/issues/48)
+
+
+### Documentation
+
+* better concurrency group example ([232cae2](https://github.com/agrc/release-composite-action/commit/232cae2c7881e4e9b896f114d068dad825cb1e9b))
+
 ## [1.2.0](https://github.com/agrc/release-composite-action/compare/v1.1.7...v1.2.0) (2023-02-27)
 
 
 ### 🚀 Features

  version.txt:  [class DefaultUpdater]
Index: version.txt
===================================================================
--- version.txt
+++ version.txt
@@ -1,1 +1,1 @@
-1.2.0
+1.2.1-0

  .release-please-manifest.json:  [class ReleasePleaseManifest extends DefaultUpdater]
no change found for .release-please-manifest.json
(base) 

I'm opening this issue to see if this change would be acceptable.

@stdavis stdavis added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants