Skip to content

Commit

Permalink
fix: CI checks
Browse files Browse the repository at this point in the history
  • Loading branch information
darora committed Dec 6, 2023
1 parent 1a3a5fe commit 7be7ccf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ jobs:

check-release-version:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

run: |
SUFFIX=$(sed -E 's/postgres-version = "[0-9\.]+(.*)"/\1/g' common.vars.pkr.hcl)
if [[ -n $SUFFIX ]] ; then
echo "We no longer allow merging RC versions to develop."
exit 1
fi
- name: Run checks
run: |
SUFFIX=$(sed -E 's/postgres-version = "[0-9\.]+(.*)"/\1/g' common.vars.pkr.hcl)
if [[ -n $SUFFIX ]] ; then
echo "We no longer allow merging RC versions to develop."
exit 1
fi
2 changes: 1 addition & 1 deletion common.vars.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
postgres-version = "15.1.0.138-rc0"
postgres-version = "15.1.0.138"

0 comments on commit 7be7ccf

Please sign in to comment.