Bump to a new version (#93)
Some checks failed
Prepare releases / coverage (push) Failing after 16s
Some checks failed
Prepare releases / coverage (push) Failing after 16s
Reviewed-on: #93
This commit is contained in:
parent
798ab61fed
commit
c14be6f037
|
@ -71,16 +71,3 @@ jobs:
|
|||
run: |
|
||||
poetry config http-basic.gitea ${{ secrets.REPOSITORY_USER }} ${{ secrets.REPOSITORY_TOKEN }}
|
||||
poetry publish --build --repository gitea
|
||||
- name: Clone repository
|
||||
if: env.is-auto-commit == 'false' && gitea.event_name != 'pull_request'
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.WORKFLOW_GIT_TOKEN }}
|
||||
ref: main
|
||||
- name: Rebase main
|
||||
if: env.is-auto-commit == 'false' && gitea.event_name != 'pull_request'
|
||||
run: |
|
||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||
git config --global user.email "${{ env.CI_COMMIT_EMAIL }}"
|
||||
git rebase --force-rebase origin/stable
|
||||
git push --force
|
||||
|
|
|
@ -154,6 +154,12 @@ class Fittrackee:
|
|||
log.error(str(e))
|
||||
return
|
||||
results = r.json()
|
||||
log.debug(f"Workkouts: {results['data']['workouts']}")
|
||||
log.debug(f"Count workkouts: {len(results['data']['workouts'])}")
|
||||
log.debug(f"As next : {results['pagination']['has_next']}")
|
||||
log.debug(f"As prev : {results['pagination']['has_prev']}")
|
||||
log.debug(f"Pagination pages : {results['pagination']['pages']}")
|
||||
log.debug(f"Pagination total : {results['pagination']['total']}")
|
||||
return (
|
||||
len(results["data"]["workouts"]) == 0
|
||||
and results["pagination"]["has_next"] is False
|
||||
|
@ -306,7 +312,7 @@ class Fittrackee:
|
|||
|
||||
@staticmethod
|
||||
def is_instance_is_supported(host: str):
|
||||
supported_instance_versions = ["0.7.29"]
|
||||
supported_instance_versions = ["0.7.29", "v0.7.30", "v0.7.31", "v0.7.32"]
|
||||
config = Fittrackee.get_instance_config(host=host)
|
||||
if not (
|
||||
"data" in config
|
||||
|
|
Loading…
Reference in a new issue