Skip to content

Commit

Permalink
Further cleanup HOW_.._RELEASE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Dec 1, 2022
1 parent 8b2ab4f commit a1a3d37
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions HOW_TO_CUT_A_PGX_RELEASE.md
Expand Up @@ -8,25 +8,20 @@ elif [ "$NEW_VERSION" = "" ]; then
echo "No version set. Are you just copying and pasting this without checking?"
else
git pull origin develop --ff-only
git switch -c prepare-"${NEW_VERSION}"
git switch -c "prepare-${NEW_VERSION}"
./update-versions.sh "${NEW_VERSION}"
git diff # sanity check the diffs
git commit -a -m "update version to ${NEW_VERSION}"
git push --set-upstream origin prepare-"${NEW_VERSION}"
git commit -a -m "Update version to ${NEW_VERSION}"
git push --set-upstream origin "prepare-${NEW_VERSION}"
fi
```

> go make a PR to `develop` on GitHub
> start "draft new release" on GitHub to ask it to "Generate release notes". Make sure to choose the `develop` branch to get the full set of changes.: https://github.com/tcdi/pgx/releases/new
> paste them into the PR you made above
> edit them as best as you can while channeling @workingjubilee's spirit
> request a review
> do a squash merge into develop
- go make a PR to `develop` on GitHub
- start "draft new release" on GitHub to ask it to "Generate release notes". Make sure to choose the `develop` branch to get the full set of changes.: https://github.com/tcdi/pgx/releases/new
- paste them into the PR you made above
- edit them as best as you can while channeling @workingjubilee's spirit
- request a review
- do a squash merge into develop

```shell
git switch develop
Expand All @@ -37,8 +32,7 @@ git merge develop
git push origin master
```

> create the actual release on GitHub, tagging the `master` branch with "${NEW_VERSION}", using the release notes you made in your PR
- create the actual release on GitHub, tagging the `master` branch with "${NEW_VERSION}", using the release notes you made in your PR

```shell
./publish.sh
Expand Down

0 comments on commit a1a3d37

Please sign in to comment.