mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
14 lines
326 B
Bash
Executable file
14 lines
326 B
Bash
Executable file
#!/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
|