Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
IDATT2900-072
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mattias Agentoft Eggen
IDATT2900-072
Commits
766c1cd7
Commit
766c1cd7
authored
3 years ago
by
magnus2142
Browse files
Options
Downloads
Patches
Plain Diff
Fixed version generating
parent
e36cafd7
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bbcli/__version__.py
+2
-2
2 additions, 2 deletions
bbcli/__version__.py
bbcli/cli.py
+2
-1
2 additions, 1 deletion
bbcli/cli.py
with
4 additions
and
3 deletions
bbcli/__version__.py
+
2
−
2
View file @
766c1cd7
VERSION
=
(
1
,
0
,
4
)
VERSION
=
(
1
,
0
,
5
)
PRERELEASE
=
None
# alpha, beta or rc
PRERELEASE
=
None
# alpha, beta or rc
REVISION
=
None
REVISION
=
None
...
@@ -17,4 +17,4 @@ __url__ = 'https://gitlab.stud.idi.ntnu.no/mattiaae/idatt2900-072'
...
@@ -17,4 +17,4 @@ __url__ = 'https://gitlab.stud.idi.ntnu.no/mattiaae/idatt2900-072'
__version__
=
generate_version
(
VERSION
,
prerelease
=
PRERELEASE
,
revision
=
REVISION
)
__version__
=
generate_version
(
VERSION
,
prerelease
=
PRERELEASE
,
revision
=
REVISION
)
__authors__
=
'
Hans William Forebrigd, Mattias Aggentoft Eggen, Magnus Bredeli
'
__authors__
=
'
Hans William Forebrigd, Mattias Aggentoft Eggen, Magnus Bredeli
'
__author_emails__
=
'
hansw0701@gmail.com, mattias.a.eggen@gmail.com, magnus.bredeli@hotmail.com
'
__author_emails__
=
'
hansw0701@gmail.com, mattias.a.eggen@gmail.com, magnus.bredeli@hotmail.com
'
__license__
=
'
Willyeh Wonkmeh 2.0
'
__license__
=
'
Willyeh Wonkmeh 2.0
'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bbcli/cli.py
+
2
−
1
View file @
766c1cd7
...
@@ -3,6 +3,7 @@ import requests
...
@@ -3,6 +3,7 @@ import requests
from
bbcli.utils.utils
import
set_cookies
,
set_headers
from
bbcli.utils.utils
import
set_cookies
,
set_headers
from
bbcli
import
__app_name__
,
__version__
from
bbcli
import
__app_name__
,
__version__
import
os
import
os
from
bbcli.__version__
import
generate_version
,
VERSION
from
dotenv
import
load_dotenv
from
dotenv
import
load_dotenv
from
bbcli
import
check_valid_date
from
bbcli
import
check_valid_date
import
click
import
click
...
@@ -19,7 +20,7 @@ ENTRY POINT WHERE ALL COMMANDS GO THROUGH
...
@@ -19,7 +20,7 @@ ENTRY POINT WHERE ALL COMMANDS GO THROUGH
@click.group
()
@click.group
()
@click.pass_context
@click.pass_context
@click.version_option
(
__version__
)
@click.version_option
(
generate_version
(
VERSION
)
)
def
entry_point
(
ctx
):
def
entry_point
(
ctx
):
ctx
.
ensure_object
(
dict
)
ctx
.
ensure_object
(
dict
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment