Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct release instructions for current repo tools #1808

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions docs/src/contributing/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@
- edit them as best as you can while channeling @workingjubilee's spirit
- request a review
- do a squash merge into develop

```shell
./finalize-release.sh
```

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

```shell
git switch develop
git pull origin/develop
./publish.sh
```
5 changes: 4 additions & 1 deletion prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ elif [ "$NEW_VERSION" = "" ]; then
else
git pull origin develop --ff-only
git switch -c "prepare-${NEW_VERSION}"


cargo install --path cargo-pgrx --locked
cargo pgrx init

# exit early if the script fails
./update-versions.sh "${NEW_VERSION}" || exit $?

Expand Down
Loading