From 93391371f6bb08c028c8df4c7108dde27d2e313f Mon Sep 17 00:00:00 2001 From: Ana Trisovic Date: Wed, 10 Nov 2021 11:20:37 -0500 Subject: [PATCH] Add info on minor release --- src/pyDataverse/docs/source/user/basic-usage.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pyDataverse/docs/source/user/basic-usage.rst b/src/pyDataverse/docs/source/user/basic-usage.rst index b1d1807..46f76f4 100644 --- a/src/pyDataverse/docs/source/user/basic-usage.rst +++ b/src/pyDataverse/docs/source/user/basic-usage.rst @@ -297,6 +297,8 @@ always leads to a major version change: >>> resp = api.publish_dataset(ds_pid, release_type="major") Dataset doi:10.5072/FK2/EO7BNB published +Note that the version release needs to be ``major`` if any files were added or modified. +A ``minor`` release will work for metadata changes, but it will return an error if there are changes in the dataset content. .. _user_basic-usage_download-data: