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 25, 2022
1 parent 0304f92 commit 71b6de8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-please.yaml
Expand Up @@ -59,6 +59,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 71b6de8

Please sign in to comment.