You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
It looks like the bintray.sh might have some issues creating packages that don't already exist. I tried to use the script as is in https://github.com/asteris-llc/mantl-private-packaging and ran into problems. The check to determine if the pkg exists used the versioned name ($PKG) instead of the base name ($PKG_NAME). Also, the PKG_METADATA variable did not seem to be properly quoted and the vars were included literally in the JSON and resulted in a bintray api error. This looks like it occurred here for example:
In that example, it looks like the script tried to create the package even though it already existed in Bintray because of the check using $PKG instead of $PKG_NAME as described above.
It looks like the bintray.sh might have some issues creating packages that don't already exist. I tried to use the script as is in https://github.com/asteris-llc/mantl-private-packaging and ran into problems. The check to determine if the pkg exists used the versioned name (
$PKG
) instead of the base name ($PKG_NAME
). Also, thePKG_METADATA
variable did not seem to be properly quoted and the vars were included literally in the JSON and resulted in a bintray api error. This looks like it occurred here for example:https://travis-ci.org/asteris-llc/mantl-packaging/builds/133152641#L353
In that example, it looks like the script tried to create the package even though it already existed in Bintray because of the check using
$PKG
instead of$PKG_NAME
as described above.Here is the version I am using in the private repo which appears to work correctly: https://github.com/asteris-llc/mantl-private-packaging/blob/master/scripts/bintray.sh
The text was updated successfully, but these errors were encountered: