Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 438ccbc0 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

gitlab-ci: fix release job, there is a formatting problem in the changelog

parent 1747d24f
No related branches found
No related tags found
1 merge request!517gitlab-ci: fix release job, there is a formatting problem in the changelog
Pipeline #1119660 passed
...@@ -4,12 +4,15 @@ release: ...@@ -4,12 +4,15 @@ release:
rules: rules:
- if: $CI_COMMIT_TAG =~ /^v[0-9]\.[0-9]\.[0-9]$/ && $CI_PIPELINE_SOURCE != "schedule" - if: $CI_COMMIT_TAG =~ /^v[0-9]\.[0-9]\.[0-9]$/ && $CI_PIPELINE_SOURCE != "schedule"
dependencies: [] dependencies: []
variables:
GIT_CONFIG_COUNT: 1
GIT_CONFIG_KEY_0: "safe.directory"
GIT_CONFIG_VALUE_0: "*"
VERSION: release
script:
- ./tools/release.sh
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
expire_in: 1 week expire_in: 1 week
paths: paths:
- chameleon-*.tar.gz - chameleon-*.tar.gz
variables:
VERSION: release
script:
- ./tools/release.sh
...@@ -31,12 +31,12 @@ function gen_changelog() ...@@ -31,12 +31,12 @@ function gen_changelog()
#echo $lastline #echo $lastline
changelog="Changes:\n" changelog="Changes:\n"
for i in `seq $firstline $lastline` #for i in `seq $firstline $lastline`
do #do
local line=$( head -n $i ChangeLog | tail -n 1 ) # local line=$( head -n $i ChangeLog | tail -n 1 )
changelog="$changelog$line\\n" # changelog="$changelog$line\\n"
#echo $line # #echo $line
done #done
changelog="$changelog\nWARNING: Download the source archive by clicking on the link __Download release__ above, please do not consider the automatic Source code links as they are missing the submodules.\nVisit the [documentation](https://solverstack.gitlabpages.inria.fr/chameleon/#quickstart-install) to see how to install Chameleon." changelog="$changelog\nWARNING: Download the source archive by clicking on the link __Download release__ above, please do not consider the automatic Source code links as they are missing the submodules.\nVisit the [documentation](https://solverstack.gitlabpages.inria.fr/chameleon/#quickstart-install) to see how to install Chameleon."
} }
......
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