Commit 370bad0a authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

Build the dev python package also for master branch.

parent 72f3a2cd
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -17,13 +17,16 @@
    COMMON_BUILD_PATH: csp-lmc-common


#
# Build the pyton package for branches. This package is
# uploaded on the Gitlab Package Registry and used to 
# build the mid and low images
#
build:csp-lmc-common_pkg_dev: # Executed on a commit
  extends: .build_python_common
  script:
    - cd $COMMON_BUILD_PATH
    - python3 setup.py egg_info -b+dev.$CI_COMMIT_SHORT_SHA sdist bdist_wheel
  except:
    - master

build:csp-lmc-common_pkg:
  extends: .build_python_common
@@ -32,7 +35,6 @@ build:csp-lmc-common_pkg:
    - python3 setup.py egg_info -b+$CI_COMMIT_SHORT_SHA sdist bdist_wheel
  only:
      - tags
      - master

#
# Build csp-lmc-common image 
@@ -148,8 +150,6 @@ publish:csp-lmc-common:
    - twine upload --repository-url $PYPI_REPOSITORY_URL dist/* || true
    - twine upload --skip-existing -u $PYPI_USER -p $PYPI_PASS dist/* || true



#
# Release csp-lmc-common image on nexus
#