mirror of
https://gitlab.com/TECHNOFAB/nixlets.git
synced 2025-12-12 10:00:12 +01:00
fix(lib): add curl package prefix to upload script
This commit is contained in:
parent
2b60f365eb
commit
9185c975f0
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ with lib; rec {
|
|||
builtins.map (nixlet:
|
||||
with nixlet; ''
|
||||
URL="https://gitlab.com/api/v4/projects/${projectId}/packages/generic/${name}/${version}/${name}.tar.gz"
|
||||
if curl --output /dev/null --silent --head --fail --header "$AUTH_HEADER" $URL; then
|
||||
if ${pkgs.curl}/bin/curl --output /dev/null --silent --head --fail --header "$AUTH_HEADER" $URL; then
|
||||
echo "> Skipped ${name}@${version} because it already exists in the Package Registry"
|
||||
else
|
||||
echo "> Uploading new version ${name}@${version}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue