Skip to content

Commit

Permalink
ci: Fix -main tags on release (#4154)
Browse files Browse the repository at this point in the history
These tags should be attached to the head of the main branch, so that
is what we should check out during the tagging job.

In v3.1.7, v3.2.5, and v3.3.3, we accidentally tagged the heads of the
release branches.  The `-main` tags for those releases had to be
corrected manually.
  • Loading branch information
joeyparrish committed Apr 26, 2022
1 parent db22e99 commit 1c428e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
if: needs.release.outputs.release_created
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Tag the main branch
run: |
# Emulate the actions bot.
Expand Down

0 comments on commit 1c428e5

Please sign in to comment.