diff --git a/.gitlab/release.yml b/.gitlab/release.yml index e10efe6f23ba78743391271bc695efc7d66fc45b..9ccd1ef98412fc1c90eb5e1aec376663667530a3 100644 --- a/.gitlab/release.yml +++ b/.gitlab/release.yml @@ -4,12 +4,15 @@ release: rules: - if: $CI_COMMIT_TAG =~ /^v[0-9]\.[0-9]\.[0-9]$/ && $CI_PIPELINE_SOURCE != "schedule" dependencies: [] + variables: + GIT_CONFIG_COUNT: 1 + GIT_CONFIG_KEY_0: "safe.directory" + GIT_CONFIG_VALUE_0: "*" + VERSION: release + script: + - ./tools/release.sh artifacts: name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" expire_in: 1 week paths: - chameleon-*.tar.gz - variables: - VERSION: release - script: - - ./tools/release.sh diff --git a/tools/release.sh b/tools/release.sh index 8f04fce9e1e41d13066c8befe90f0fcb8a101476..832dfcd5dad71c0192ba75528f694a25d4865199 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -31,12 +31,12 @@ function gen_changelog() #echo $lastline changelog="Changes:\n" - for i in `seq $firstline $lastline` - do - local line=$( head -n $i ChangeLog | tail -n 1 ) - changelog="$changelog$line\\n" - #echo $line - done + #for i in `seq $firstline $lastline` + #do + # local line=$( head -n $i ChangeLog | tail -n 1 ) + # changelog="$changelog$line\\n" + # #echo $line + #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." }