Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First, we build the source release:

Non-MAC users:

Code Block
languagebash
$ RELEASE_VERSION=$RELEASE_VERSION tools/releasing/create_source_release.sh

MAC users:

First, check your tar version by tar --version. If the output is bsdtar , it will create some extra information which cannot be recognized by gnutar . You can download gnutar  to replace system built-in bsdtar , or you can just use argument --no-xattrs , which is more convenient. 

Code Block
-- find this line in tools/releasing/create_source_release.sh
tar czf ${RELEASE_DIR}/apache-paimon-${RELEASE_VERSION}-src.tgz paimon-${RELEASE_VERSION}

-- add --no-xattrs
tar czf ${RELEASE_DIR}/apache-paimon-${RELEASE_VERSION}-src.tgz --no-xattrs paimon-${RELEASE_VERSION}

Second, use COPYFILE_DISABLE=1 to avoid generate hidden files:

Code Block
COPYFILE_DISABLE=1 RELEASE_VERSION=$RELEASE_VERSION tools/releasing/create_source_release.sh

...