Skip to content

Commit

Permalink
Correct release instructions for current repo tools (#1808)
Browse files Browse the repository at this point in the history
- Remove a reference to a script that doesn't exist anymore.
- Remind people to pull off develop so they publish the same commit.
- Add cargo commands that are required for actual releases.
  • Loading branch information
workingjubilee committed Aug 14, 2024
1 parent 79772bc commit 04ddb57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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

0 comments on commit 04ddb57

Please sign in to comment.