-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github-action publishing uploads master package as well (i.e. python/ffmpeg) #5870
Comments
@hgy59 Help on this would be much appreciated considering the vast amount of python packages to publish... |
After looking into build.sh, the following code must be omitted: # publish to synocommunity.com when the API key is set
MAKE_ARGS=
if [ -n "$API_KEY" ] && [ "$PUBLISH" == "true" ]; then
MAKE_ARGS="publish-"
fi the publish prefix must be applied within the # Build
PACKAGES_TO_KEEP="ffmpeg4 ffmpeg5 ffmpeg6"
for package in ${build_packages}
do but only for the package to build we can build all packages without
This must be implemented two times (once for noarch, and once for arch dependent packages)
BTW: |
addendum: Perhaps it is better to keep the single make call (in case of build errors). # Build
PACKAGES_TO_KEEP="ffmpeg4 ffmpeg5 ffmpeg6"
for package in ${build_packages}
do
echo "::group:: ---- build ${package}"
echo >build.log
if [ -n "$API_KEY" ] && [ "$PUBLISH" == "true" ] && [ "${package}" == "${PACKAGE_TO_PUBLISH}" ]; then
MAKE_ARGS="publish-"
else
MAKE_ARGS=
fi
and we can keep the rest of the loop as is.... |
Is this a new Bug?
Package Name
deluge
Package Version
any
Device Model
any
Device Architecture
x86_64
Firmware Version
unrelated
What happened?
Invoking builds + upload through github-action for shared packages (i.e. using python311 of ffmpeg) ends-up uploading both artifacts instead of the resulting package being built. This ends-up generating errors:
Reproduction steps
n/a
Install Log
Service Log
No response
Other Logs
No response
The text was updated successfully, but these errors were encountered: