Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
chore: maybe now (WIP)
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
  • Loading branch information
shanduur committed Jun 3, 2024
1 parent b3609ad commit 5b06ccc
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions hack/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,25 +81,10 @@ def is_initial() -> bool:
stdout=sys.stdout,
stderr=sys.stderr,
)
subprocess.run(
["git", "remote", "-v"],
stdout=sys.stdout,
stderr=sys.stderr,
)
subprocess.run(
["git", "fetch", "origin", "refs/heads/gh-pages"],
stdout=sys.stdout,
stderr=sys.stderr,
)
subprocess.run(
["git", "show-ref"],
stdout=sys.stdout,
stderr=sys.stderr,
)

logger.info("getting ref of gh-pages")
rc = subprocess.run(
["git", "show-ref", "refs/heads/gh-pages"],
["git", "show-ref", "refs/remotes/origin/gh-pages"],
stdout=sys.stdout,
stderr=sys.stderr,
)
Expand Down

0 comments on commit 5b06ccc

Please sign in to comment.