Skip to content

Commit

Permalink
a script for finalizing a release
Browse files Browse the repository at this point in the history
  • Loading branch information
eeeebbbbrrrr committed Jun 8, 2023
1 parent 5a45b3a commit 7d76bf0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 1 addition & 6 deletions HOW_TO_CUT_A_PGRX_RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@
- do a squash merge into develop

```shell
git switch develop
git pull origin develop --ff-only
git switch master
git pull origin master --ff-only
git merge develop
git push origin master
./finalize-release.sh
```

- create the actual release on GitHub, tagging the `master` branch with "${NEW_VERSION}", using the release notes you made in your PR
Expand Down
8 changes: 8 additions & 0 deletions finalize-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#! /usr/bin/env bash

git switch develop
git pull origin develop --ff-only
git switch master
git pull origin master --ff-only
git merge develop
git push origin master

0 comments on commit 7d76bf0

Please sign in to comment.