From 17f86c274923a67a33fa383b6319cf1076b3572b Mon Sep 17 00:00:00 2001 From: Ali Zahedigol Date: Thu, 28 Mar 2024 15:55:09 +0200 Subject: [PATCH] chore: remove gitlab ci and adjust django dependency version --- .gitlab-ci.yml | 51 -------------------------------------------------- setup.cfg | 2 +- 2 files changed, 1 insertion(+), 52 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index acde010..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,51 +0,0 @@ -stages: - - version - - release - -variables: - AUTHOR: 'Ali Zahedigol' - -.node: &node - image: node:latest - tags: - - node - -.python: &python - image: python:3.7 - tags: - - python - - -version: - # Requires Node >= 10.13 version - <<: *node - stage: version - only: - refs: - - master - - develop - script: - - npm install @semantic-release/gitlab @semantic-release/exec @semantic-release/changelog - - npx semantic-release --generate-notes false --dry-run - - npx semantic-release - artifacts: - paths: - - VERSION.txt - -release: - <<: *python - stage: release - environment: - name: release - script: - - echo "Version is $(cat VERSION.txt)" - - sed -i "s/__version__ = \"1.0.0\"/__version__ = \"$(cat VERSION.txt)\"/g" azbankgateways/__init__.py - - pip install build twine - - python -m build - - TWINE_PASSWORD=${TWINE_TOKEN} TWINE_USERNAME=${TWINE_USERNAME} python -m twine upload dist/* - only: - - master - - develop - dependencies: - - version - diff --git a/setup.cfg b/setup.cfg index a76e5b4..2aaf925 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,7 @@ include_package_data = true zip_safe = false install_requires = six - Django >= 3.2, < 6 + Django >= 3.0 pycryptodome >= 3.9.7 zeep