Skip to content

Commit

Permalink
release: Improve tagging command to support remotes not named 'origin.'
Browse files Browse the repository at this point in the history
  • Loading branch information
kpfleming committed Aug 14, 2024
1 parent 462d2b3 commit 3cc4eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
1. Open a new PR to update CHANGELOG ([example](https://github.com/fastly/cli/pull/273))<sup>[1](#note1)</sup>.
1. Merge CHANGELOG.
1. Rebase latest remote main branch locally (`git pull --rebase origin main`).
1. Tag a new release (`tag=vX.Y.Z && git tag -s $tag -m "$tag" && git push origin $tag`)<sup>[2](#note2)</sup>.
1. Tag a new release (`tag=vX.Y.Z && git tag -s $tag -m $tag && git push $(git config branch.$(git symbolic-ref -q --short HEAD).remote) $tag`)<sup>[2](#note2)</sup>.
1. Copy/paste CHANGELOG into the [draft release](https://github.com/fastly/cli/releases).
1. Publish draft release.

Expand Down

0 comments on commit 3cc4eb8

Please sign in to comment.