Skip to content

Commit

Permalink
ci: help release-please use the right latest release (#481)
Browse files Browse the repository at this point in the history
Release-please created a PR for 1.7.0 instead of the correct 2.4.0
because the releases in between were done outside of the main branch.

I am not sure that this actually fixes the issue, but we will see once
release-please runs.
  • Loading branch information
apricote authored Aug 25, 2023
1 parent 3821c3d commit 66931d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
release-type: go
package-name: csi-driver

# Manually set the last commit sha for the first release using release-please.
# The previous release pipeline created a new commit outside the `main` branch,
# so release-please has issues associated the newer releases and compares against
# 1.6.0 instead of 2.3.2. This commit is for the 2.3.2 tag.
# TODO: Remove after the first release with release-please.
last-release-sha: dfe6183f4d0fddeefdff8069b1c09eeb38113b33

extra-files: |
driver/driver.go
Expand Down

0 comments on commit 66931d8

Please sign in to comment.