Skip to content
Snippets Groups Projects
Commit c69476c1 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Merge branch 'devel' into 'master'

Update typedcols.py, README.rst, .gitlab-ci.yml

See merge request 709/warden/typedcols!11
parents 900ac0f8 17f80397
No related branches found
No related tags found
1 merge request!11Update typedcols.py, README.rst, .gitlab-ci.yml
Pipeline #2641 passed
...@@ -157,16 +157,17 @@ twine-job: ...@@ -157,16 +157,17 @@ twine-job:
pages: pages:
stage: deploy stage: deploy
script: script:
- make docs - make docs # Create documentation
- curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/devel/download?job=pages" -o devel.zip - curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/devel/download?job=pages" -o devel.zip # Download docs and files from devel branch
- curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=pages" -o master.zip - curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=pages" -o master.zip # Download docs and files from master branch
- unzip -n '*.zip' || true # Ignore not existing zipfiles - unzip -n '*.zip' || true # Unzip and ignore not existing zipfiles
- mkdir -p public/"$CI_COMMIT_BRANCH" - mkdir -p public/"$CI_COMMIT_BRANCH" # Create directory for docs if it doesn't exist
- mkdir -p public/"$CI_COMMIT_BRANCH"/files - mkdir -p public/"$CI_COMMIT_BRANCH"/files # Create directory for files if it doesn't exist
- cp -rf doc/_build/html public/"$CI_COMMIT_BRANCH" - cp -rf doc/_build/html public/"$CI_COMMIT_BRANCH" # Copy docs to shared folder
- cp -rf dist/* public/"$CI_COMMIT_BRANCH"/files/. - cp -rf dist/* public/"$CI_COMMIT_BRANCH"/files/. # Copy files to shared folder
- 'if [ "$BACKUP_ZIPFILE_URL" != null ]; then curl "$BACKUP_ZIPFILE_URL" --output backup.zip; unzip -n backup.zip; fi' # Download backup files
- cd public/"$CI_COMMIT_BRANCH"/files - cd public/"$CI_COMMIT_BRANCH"/files
- echo "<html><body><h1>Directory listing:</h1>" > ./index.html - echo "<html><body><h1>Directory listing:</h1>" > ./index.html # Create directory listing
- find -exec echo "<a href='{}'>{}</a><br/>" \; | sort >> ./index.html - find -exec echo "<a href='{}'>{}</a><br/>" \; | sort >> ./index.html
- echo "</body></html>" >> ./index.html - echo "</body></html>" >> ./index.html
artifacts: artifacts:
......
...@@ -28,6 +28,13 @@ Changelog ...@@ -28,6 +28,13 @@ Changelog
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Version 0.1.15
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Released 2022-11-02
- Allowed adding files from previous versions using Gitlab CI/CD.
Version 0.1.14 Version 0.1.14
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......
...@@ -10,7 +10,7 @@ Defines TypedDict and TypedList, which enforce inserted types based on simple ...@@ -10,7 +10,7 @@ Defines TypedDict and TypedList, which enforce inserted types based on simple
type definition. type definition.
""" """
__version__ = '0.1.14' __version__ = '0.1.15'
__author__ = 'Pavel Kácha <pavel.kacha@cesnet.cz>' __author__ = 'Pavel Kácha <pavel.kacha@cesnet.cz>'
try: # Python 2 try: # Python 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment