Skip to content

Commit 0dcc482

Browse files
authored
Small improvements in update_pgxn.pl (#73)
* As we put README.md instead of the latest migration script into the pgxn package, remove related sed command. * Update pr title and commit message to be more explicit about we are actually updating pgxn package.
1 parent 9214b68 commit 0dcc482

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

automated_packaging/update_pgxn.pl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@
2525

2626
# Update META.json file
2727
`sed -i 's/$old_version_escape_dot/$NEW_VERSION/g' META.json`;
28-
`sed -i 's/$old_minor_version-[[:digit:]]/$new_minor_version-$new_point_version/g' META.json`;
2928

3029
# Commit changes to github
31-
`git commit -a -m "Bump Citus to $NEW_VERSION"`;
30+
`git commit -a -m "Bump Citus PGXN to $NEW_VERSION"`;
3231
`git push origin pgxn-citus-push-$curTime`;
3332

3433
# Open a PR to the master
35-
`curl -g -H "Accept: application/vnd.github.v3.full+json" -X POST --user "$github_token:x-oauth-basic" -d '{\"title\":\"Bump Citus to $NEW_VERSION\", \"base\":\"pgxn-citus\", \"head\":\"pgxn-citus-push-$curTime\"}' https://api.github.com/repos/citusdata/packaging/pulls`;
34+
`curl -g -H "Accept: application/vnd.github.v3.full+json" -X POST --user "$github_token:x-oauth-basic" -d '{\"title\":\"Bump Citus PGXN to $NEW_VERSION\", \"base\":\"pgxn-citus\", \"head\":\"pgxn-citus-push-$curTime\"}' https://api.github.com/repos/citusdata/packaging/pulls`;

0 commit comments

Comments
 (0)