Skip to content

Commit

Permalink
don't run pre-commit on release commits (OpenLineage#3274)
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
  • Loading branch information
mobuchowski authored Nov 26, 2024
1 parent c051406 commit f0c9955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions new-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ perl -i -pe"s/<version>.*/<version>${RELEASE_VERSION}<\/version>/g" ./client/jav
perl -i -pe"s/openlineage-java:[[:alnum:]\.-]*/openlineage-java:${RELEASE_VERSION}/g" ./client/java/README.md

# (4) Prepare release commit
git commit -sam "Prepare for release ${RELEASE_VERSION}"
git commit --no-verify -sam "Prepare for release ${RELEASE_VERSION}"

# (5) Pull latest tags, then prepare release tag
git fetch --all --tags
Expand Down Expand Up @@ -183,7 +183,7 @@ echo "version ${NEXT_VERSION}" > integration/flink/shared/src/test/resources/io/
echo "version ${NEXT_VERSION}" > integration/flink/app/src/test/resources/io/openlineage/flink/client/version.properties

# (7) Prepare next development version commit
git commit -sam "Prepare next development version ${NEXT_VERSION}"
git commit --no-verify -sam "Prepare next development version ${NEXT_VERSION}"

# (8) Check for commits in log
COMMITS=false
Expand Down

0 comments on commit f0c9955

Please sign in to comment.