Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cav71 committed Jan 1, 2025
1 parent 8959634 commit 2e39a34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
name = "mono2repo"
version = "0.1.0"
description = "create a standalone repo from a monorepo subdir."
readme = "README.md"
readme = "README.rst"
license = { text = "MIT" }
requires-python = ">= 3.9"

Expand Down
7 changes: 3 additions & 4 deletions support/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def parse_args(args=None):

#
if options.github_dump is None:
if not os.getenv("GITHUB_DUMP"):
parser.error("GITHUB_DUMP environment variable empty or not defined")
options.github_dump = json.loads(os.getenv("GITHUB_DUMP"))
elif options.github_dump == "local":
options.github_dump = common.github_dump_from_local()
Expand All @@ -74,10 +76,7 @@ def parse_args(args=None):


def main(args):
github_dump = args.github_dump
if not github_dump:
args.error("missing GITHUB_DUMP variable")
gdata = common.github_dump_validate(github_dump)
gdata = common.github_dump_validate(args.github_dump)

with common.savefiles() as save:
# update pyproject.toml
Expand Down

0 comments on commit 2e39a34

Please sign in to comment.