Skip to content

Commit

Permalink
Fix version command
Browse files Browse the repository at this point in the history
  • Loading branch information
douglaslassance committed Mar 29, 2022
1 parent 0c40305 commit c354629
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_example():
# Creating a repository that Gitalong will use to store and share local changes.
# You would normally host this somewhere like GitHub so your entire team has
# access to it.
store = Repo.init(path="store.git", bare=True)
store = Repo.init(path=os.path.join(dirname, "store.git"), bare=True)

# Setting up Gitalong in your project repository.
# This will clone the registry repository in an ignored `.gitalong` folder.
Expand Down
3 changes: 1 addition & 2 deletions gitalong/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@

from click.decorators import pass_context

from .__info__ import __version__
from .enums import CommitSpread
from .exceptions import RepositoryNotSetup
from .repository import Repository

__version__ = "0.1.0.dev1"


def get_repository(repository: str) -> Repository:
try:
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"pytest-html~=2.1",
"pytest-pep8~=1.0",
"pytest-profiling~=1.7",
"requests-mock~=1.8",
"sphinx-markdown-tables~=0.0",
"sphinx-rtd-theme~=0.5",
"sphinxcontrib-apidoc~=0.3",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_example():
# Creating a repository that Gitalong will use to store and share local changes.
# You would normally host this somewhere like GitHub so your entire team has
# access to it.
store = Repo.init(path="store.git", bare=True)
store = Repo.init(path=os.path.join(dirname, "store.git"), bare=True)

# Setting up Gitalong in your project repository.
# This will clone the registry repository in an ignored `.gitalong` folder.
Expand Down

0 comments on commit c354629

Please sign in to comment.