Skip to content
Snippets Groups Projects
Commit e4059e43 authored by sandcha's avatar sandcha
Browse files

Teste la publication de git tag après...

La création d'un access token
Et la sauvegarde de la valeur du token dans la variable du dépôt GITLAB_API_ACCESS_TOKEN
parent 4ce80c55
No related branches found
Tags 0.7.4
No related merge requests found
Pipeline #6239 skipped
#! /usr/bin/env bash
git tag `python setup.py --version`
git push --tags # update the repository version
# git push --tags # update the repository version
# git push --tags -o ci.skip "https://${CI_REGISTRY_USER}:${GITLAB_API_ACCESS_TOKEN}@${CI_REPOSITORY_URL#*@}"
......@@ -4,7 +4,6 @@ variables:
GIT_EMAIL: leximpact@an.fr
GIT_AUTHOR_NAME: leximpact-bot
PYPI_USERNAME: leximpact-bot
GITLAB_PROJECT_URL: https://git.leximpact.dev/leximpact/openfisca-france-dotations-locales.git
stages:
- install
......@@ -47,12 +46,14 @@ test:
needs: ["dependencies"]
script:
- make test
# testing git tag and push
- .ci/publish-git-tag.sh
- git push --tags -o ci.skip "https://${CI_REGISTRY_USER}:${GITLAB_API_ACCESS_TOKEN}@${CI_REPOSITORY_URL#*@}"
check_version:
stage: test
needs: ["dependencies"]
script:
- git config --global user.name
# Check for functional changes and version number
- .ci/is-version-number-acceptable.sh
except:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment