We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d3a9e commit e54cb21Copy full SHA for e54cb21
scripts/publish.sh
@@ -40,17 +40,17 @@ sed -i '/<!-- no toc -->/,/<!-- no toc -->/d' README.md
40
41
poetry build
42
43
-# Restore the README abd CHANGELOG if git is installed
44
-if command -v git &> /dev/null
45
-then
46
- git checkout -- README.md
47
- git checkout -- CHANGELOG.md
48
-fi
49
-
50
if [ "$DRY_RUN" = true ]; then
51
poetry publish -r testpypi
52
else
53
poetry publish
54
fi
55
+# Restore the README if git is installed
+# This is for convenience when developing
+if command -v git &> /dev/null
+then
+ git checkout -- README.md
+fi
+
56
popd >> /dev/null
0 commit comments