Skip to content

Commit

Permalink
Merge pull request #39 from rabix/return-code-0
Browse files Browse the repository at this point in the history
Return code 0
  • Loading branch information
bogdang989 authored Feb 18, 2022
2 parents 4d92395 + bc02251 commit 6abf31c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sbpack/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,10 @@ def main():
try:
app = api.apps.get(appid)
logger.debug(f"Creating revised app: {appid}")
return api.apps.create_revision(id=appid, raw=cwl, revision=app.revision + 1)
api.apps.create_revision(id=appid, raw=cwl, revision=app.revision + 1)
except sbgerr.NotFound:
logger.debug(f"Creating new app: {appid}")
return api.apps.install_app(id=appid, raw=cwl)
api.apps.install_app(id=appid, raw=cwl)


def localpack():
Expand Down
2 changes: 1 addition & 1 deletion sbpack/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2021.10.07"
__version__ = "2022.02.18"

0 comments on commit 6abf31c

Please sign in to comment.