mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
15 lines
326 B
Bash
15 lines
326 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
echo "Creating a release for $CI_COMMIT_TAG"
|
||
|
|
||
|
cd `dirname $0`/../dist
|
||
|
|
||
|
|
||
|
CMD="release-cli create --name $CI_COMMIT_TAG --description release-notes.md --tag-name $CI_COMMIT_TAG"
|
||
|
for file in `cat release-files.txt`
|
||
|
do
|
||
|
CMD="$CMD --assets-link {\"name\":\"$file\",\"url\":\"${PACKAGE_REGISTRY_URL}/$file\"}"
|
||
|
done
|
||
|
|
||
|
$CMD
|