--skip-errors for package_cloud push goreleaser is duplicating but this is okay

This commit is contained in:
Cody Lee 2022-11-13 15:41:05 -06:00
parent a6673b4d42
commit c669518fdc
No known key found for this signature in database
2 changed files with 2 additions and 6 deletions

View File

@ -17,10 +17,6 @@ builds:
- amd64 - amd64
- "386" - "386"
ignore: ignore:
- goos: darwin
goarch: "386"
- goarm: mips64
- gomips: hardfloat
- goamd64: v4 - goamd64: v4
- goos: freebsd - goos: freebsd
goarch: "386" goarch: "386"

View File

@ -56,13 +56,13 @@ fi
for ubuntu_version in ${SUPPORTED_UBUNTU_VERSIONS} for ubuntu_version in ${SUPPORTED_UBUNTU_VERSIONS}
do do
if [[ $ARTIFACT_PATH == *.deb ]]; then if [[ $ARTIFACT_PATH == *.deb ]]; then
package_cloud push ${PACKAGE_CLOUD_REPO}/ubuntu/${ubuntu_version} $ARTIFACT_PATH package_cloud push ${PACKAGE_CLOUD_REPO}/ubuntu/${ubuntu_version} $ARTIFACT_PATH --skip-errors
fi fi
done done
for redhat_version in ${SUPPORTED_REDHAT_VERSIONS} for redhat_version in ${SUPPORTED_REDHAT_VERSIONS}
do do
if [[ $ARTIFACT_PATH == *.rpm ]]; then if [[ $ARTIFACT_PATH == *.rpm ]]; then
package_cloud push ${PACKAGE_CLOUD_REPO}/el/${redhat_version} $ARTIFACT_PATH package_cloud push ${PACKAGE_CLOUD_REPO}/el/${redhat_version} $ARTIFACT_PATH --skip-errors
fi fi
done done